Browse Source

Remove dynamic import proposal text (#2564)

Dynamic imports have reached stage 4 and are now part of ECMAScript.
main
Josh Kramer 5 years ago
committed by Alexey Pyltsyn
parent
commit
05206d70c9
  1. 7
      content/docs/code-splitting.md

7
content/docs/code-splitting.md

@ -94,13 +94,6 @@ import("./math").then(math => {
});
```
> Note:
>
> The dynamic `import()` syntax is a ECMAScript (JavaScript)
> [proposal](https://github.com/tc39/proposal-dynamic-import) not currently
> part of the language standard. It is expected to be accepted in the
> near future.
When Webpack comes across this syntax, it automatically starts code-splitting
your app. If you're using Create React App, this is already configured for you
and you can [start using it](https://facebook.github.io/create-react-app/docs/code-splitting) immediately. It's also supported

Loading…
Cancel
Save