fix(terms): treeshaking -> tree shaking (#1977)

This commit is contained in:
Peng Jie
2019-05-07 19:47:32 +08:00
committed by Alexey Pyltsyn
parent ad6687e25e
commit a211417f66

View File

@@ -247,7 +247,7 @@ const App = () => (
## Named Exports {#named-exports}
`React.lazy` currently only supports default exports. If the module you want to import uses named exports, you can create an intermediate module that reexports it as the default. This ensures that treeshaking keeps working and that you don't pull in unused components.
`React.lazy` currently only supports default exports. If the module you want to import uses named exports, you can create an intermediate module that reexports it as the default. This ensures that tree shaking keeps working and that you don't pull in unused components.
```js
// ManyComponents.js