Skip to content

Commit 5284091

Browse files
threehamsgaearon
authored andcommitted
Replace unmaintained react-loadable package with loadable-components. (reactjs#1407)
* Replace react-loadable with two active alternatives. `react-loadable` no longer has an active maintainer. Only personal forks are available for Webpack 4 + Babel 7 support. * Remove react-universal-component. Change recommendation to only `loadable-components` and link directly to the SSR documentation.
1 parent f203cd5 commit 5284091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/code-splitting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ parse the dynamic import syntax but is not transforming it. For that you will ne
115115

116116
> Note:
117117
>
118-
> `React.lazy` and Suspense is not yet available for server-side rendering. If you want to do code-splitting in a server rendered app, we still recommend [React Loadable](https://github.com/thejameskyle/react-loadable). It has a nice [guide for bundle splitting with server-side rendering](https://github.com/thejameskyle/react-loadable#------------server-side-rendering).
118+
> `React.lazy` and Suspense is 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).
119119
120120
The `React.lazy` function lets you render a dynamic import as a regular component.
121121

0 commit comments

Comments
 (0)