From a211417f6680cce5b4e4f036dc1492c03bc588c7 Mon Sep 17 00:00:00 2001 From: Peng Jie Date: Tue, 7 May 2019 19:47:32 +0800 Subject: [PATCH] fix(terms): treeshaking -> tree shaking (#1977) --- content/docs/code-splitting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/code-splitting.md b/content/docs/code-splitting.md index 32483c5f..ff0cc84d 100644 --- a/content/docs/code-splitting.md +++ b/content/docs/code-splitting.md @@ -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