Browse Source

Update code-splitting.md

main
Sophie Alpert 5 years ago
committed by GitHub
parent
commit
71050d527d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/code-splitting.md

2
content/docs/code-splitting.md

@ -116,7 +116,7 @@ parse the dynamic import syntax but is not transforming it. For that you will ne
> Note:
>
> `React.lazy` and Suspense are not yet available for server-side rendering. If you want to do code-splitting in a server rendered app, we recommend [Loadable Components](https://github.com/smooth-code/loadable-components). It has a nice [guide for bundle splitting with server-side rendering](https://github.com/smooth-code/loadable-components/blob/master/packages/server/README.md).
> `React.lazy` and Suspense are not yet available for server-side rendering. If you want to do code-splitting in a server rendered app, we recommend [Loadable Components](https://github.com/smooth-code/loadable-components). It has a nice [guide for bundle splitting with server-side rendering](https://www.smooth-code.com/open-source/loadable-components/docs/server-side-rendering/).
The `React.lazy` function lets you render a dynamic import as a regular component.

Loading…
Cancel
Save