Skip to content

Commit

Permalink
chore(www): Change from react-loadable to loadable-components (#23830)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thihup authored May 6, 2020
1 parent ad7cd6b commit 649b4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/debugging-html-builds.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ exports.onCreateWebpackConfig = ({ stage, loaders, actions }) => {
}
```

Another solution is to use a package like [react-loadable](https://github.com/jamiebuilds/react-loadable). The module that tries to use `window` will be dynamically loaded only on the client side (and not during SSR).
Another solution is to use a package like [loadable-components](https://github.com/gregberge/loadable-components). The module that tries to use `window` will be dynamically loaded only on the client side (and not during SSR).

0 comments on commit 649b4dd

Please sign in to comment.