mirror of
https://github.com/zhigang1992/react.git
synced 2026-03-26 22:42:51 +08:00
Fix typos (#595)
* fix(typo): customise -> customize (en-us) * fix(typo): Recat -> React * fix(typo): porject -> project Co-authored-by: spectralapps <56676505+spectralapps@users.noreply.github.com>
This commit is contained in:
@@ -44,10 +44,10 @@ It should be noted that the specific package size depends on how many components
|
||||
|
||||
## Other
|
||||
|
||||
If you don't use `tree shaking` in your porject, bundle `geist-ui/react` as a `chunk`
|
||||
If you don't use `tree shaking` in your project, bundle `geist-ui/react` as a `chunk`
|
||||
every time, you may notice that the hash name of `chunk` is still changing,
|
||||
this may cause you to not make full use of the cache.
|
||||
|
||||
- This issue from `next.js`, and they're improving that, you can track progress [here](https://github.com/vercel/next.js/issues/6303).
|
||||
- If you want to customize config of webpack, to ensure that the `chunk` from `geist-ui/react` is always the same,
|
||||
you can refer to [this docuemnt](https://webpack.js.org/guides/code-splitting/).
|
||||
you can refer to [this document](https://webpack.js.org/guides/code-splitting/).
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
### About
|
||||
|
||||
If you use `webpack` and `babel` to build your Recat project, this example may be useful for you.
|
||||
If you use `webpack` and `babel` to build your React project, this example may be useful for you.
|
||||
|
||||
### Previews
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ Of course, if a _component_ doesn't use your customized variables, it doesn't ma
|
||||
|
||||
<Spacer y={1} />
|
||||
<Note type="warning">
|
||||
The more changes you customise, the more Components will <b>Re-Render</b>.
|
||||
The more changes you customize, the more Components will <b>Re-Render</b>.
|
||||
</Note>
|
||||
|
||||
```jsx
|
||||
|
||||
Reference in New Issue
Block a user