You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Copy edits for consistency
- Remove <br>'s for readability
Should all headers be Title Case? I see `Creating an App` but `Installing A Dependency`. I tend to use https://titlecaseconverter.com/, thoughts?
Copy file name to clipboardexpand all lines: docusaurus/docs/folder-structure.md
+3-6
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,8 @@ For the project to build, **these files must exist with exact filenames**:
29
29
30
30
You can delete or rename the other files.
31
31
32
-
You may create subdirectories inside `src`. For faster rebuilds, only files inside `src` are processed by Webpack.<br>
33
-
You need to **put any JS and CSS files inside `src`**, otherwise Webpack won’t see them.
32
+
You may create subdirectories inside `src`. For faster rebuilds, only files inside `src` are processed by Webpack. You need to **put any JS and CSS files inside `src`**, otherwise Webpack won’t see them.
34
33
35
-
Only files inside `public` can be used from `public/index.html`.<br>
36
-
Read instructions below for using assets from JavaScript and HTML.
34
+
Only files inside `public` can be used from `public/index.html`. Read instructions below for using assets from JavaScript and HTML.
37
35
38
-
You can, however, create more top-level directories.<br>
39
-
They will not be included in the production build so you can use them for things like documentation.
36
+
You can, however, create more top-level directories. They will not be included in the production build so you can use them for things like documentation.
Copy file name to clipboardexpand all lines: docusaurus/docs/getting-started.md
+10-16
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ npm start
16
16
17
17
_([npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f))_
18
18
19
-
Then open [http://localhost:3000/](http://localhost:3000/) to see your app.<br>
19
+
Then open [http://localhost:3000/](http://localhost:3000/) to see your app.
20
+
20
21
When you’re ready to deploy to production, create a minified bundle with `npm run build`.
21
22
22
23
<palign='center'>
@@ -25,8 +26,7 @@ When you’re ready to deploy to production, create a minified bundle with `npm
25
26
26
27
### Get Started Immediately
27
28
28
-
You **don’t** need to install or configure tools like Webpack or Babel.<br>
29
-
They are preconfigured and hidden so that you can focus on the code.
29
+
You **don’t** need to install or configure tools like Webpack or Babel. They are preconfigured and hidden so that you can focus on the code.
30
30
31
31
Just create a project, and you’re good to go.
32
32
@@ -62,8 +62,7 @@ _`yarn create` is available in Yarn 0.25+_
62
62
63
63
## Output
64
64
65
-
Running either of these commands will create a directory called `my-app` inside the current folder.<br>
66
-
Inside that directory, it will generate the initial project structure and install the transitive dependencies:
65
+
Running amy of these commands will create a directory called `my-app` inside the current folder. Inside that directory, it will generate the initial project structure and install the transitive dependencies:
67
66
68
67
```
69
68
my-app
@@ -85,8 +84,7 @@ my-app
85
84
└── serviceWorker.js
86
85
```
87
86
88
-
No configuration or complicated folder structures, just the files you need to build your app.<br>
89
-
Once the installation is done, you can open your project folder:
87
+
No configuration or complicated folder structures, just the files you need to build your app. Once the installation is done, you can open your project folder:
90
88
91
89
```sh
92
90
cd my-app
@@ -98,27 +96,23 @@ Inside the newly created project, you can run some built-in commands:
98
96
99
97
### `npm start` or `yarn start`
100
98
101
-
Runs the app in development mode.<br>
102
-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
99
+
Runs the app in development mode. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
103
100
104
-
The page will automatically reload if you make changes to the code.<br>
105
-
You will see the build errors and lint warnings in the console.
101
+
The page will automatically reload if you make changes to the code. You will see the build errors and lint warnings in the console.
By default, runs tests related to files changed since the last commit.
109
+
Runs the test watcher in an interactive mode. By default, runs tests related to files changed since the last commit.
115
110
116
-
[Read more about testing.](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#running-tests)
111
+
[Read more about testing](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#running-tests).
117
112
118
113
### `npm run build` or `yarn build`
119
114
120
-
Builds the app for production to the `build` folder.<br>
121
-
It correctly bundles React in production mode and optimizes the build for the best performance.
115
+
Builds the app for production to the `build` folder. It correctly bundles React in production mode and optimizes the build for the best performance.
122
116
123
117
The build is minified and the filenames include the hashes.
Copy file name to clipboardexpand all lines: docusaurus/docs/supported-browsers-features.md
+3-5
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,16 @@
1
1
---
2
2
id: supported-browsers-features
3
3
title: Supported Browsers And Features
4
-
sidebar_label: Browsers & Features
4
+
sidebar_label: Supported Browsers And Features
5
5
---
6
6
7
7
## Supported Browsers
8
8
9
-
By default, the generated project supports all modern browsers.<br>
10
-
Support for Internet Explorer 9, 10, and 11 requires [polyfills](https://github.com/facebook/create-react-app/blob/master/packages/react-app-polyfill/README.md).
9
+
By default, the generated project supports all modern browsers. Support for Internet Explorer 9, 10, and 11 requires [polyfills](https://github.com/facebook/create-react-app/blob/master/packages/react-app-polyfill/README.md).
11
10
12
11
## Supported Language Features
13
12
14
-
This project supports a superset of the latest JavaScript standard.<br>
15
-
In addition to [ES6](https://github.com/lukehoban/es6features) syntax features, it also supports:
13
+
This project supports a superset of the latest JavaScript standard. In addition to [ES6](https://github.com/lukehoban/es6features) syntax features, it also supports:
0 commit comments