Skip to content

Commit a211417

Browse files
neighborhood999lex111
authored andcommitted
fix(terms): treeshaking -> tree shaking (#1977)
1 parent ad6687e commit a211417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/code-splitting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ const App = () => (
247247

248248
## Named Exports {#named-exports}
249249

250-
`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.
250+
`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.
251251

252252
```js
253253
// ManyComponents.js

0 commit comments

Comments
 (0)