react-lazy-ssr
react-lazy-ssr copied to clipboard
React.lazy substitute which works with server-side rendering
This documents how to test with Jest / Enzyme when using this library. Enzyme does not currently support Suspense with a thrown promise inside.
I'm using Razzle, and i got css included in `reactLazySsrStats.json` ```js { "publicPath": "/", "chunks": { "client": [ "static/css/bundle.9823d995.css", "static/js/bundle.b6483aa5.js", "static/js/bundle.b6483aa5.js.map" ], "src-components-tinymce": [ "static/js/vendors~src-components-tinymce.44d0aba7.chunk.js", "static/js/vendors~src-components-tinymce.44d0aba7.chunk.js.map", "static/js/src-components-tinymce.e63dcbc5.chunk.js", "static/js/src-components-tinymce.e63dcbc5.chunk.js.map" ] }...
*** βοΈ **Important announcement:** Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! [Find out how to migrate to Snyk and more at...
## The devDependency [eslint-plugin-react-hooks](https://github.com/facebook/react) was updated from `1.7.0` to `2.4.0`. This version is **not covered** by your **current version range**. If you donβt accept this pull request, your project will...
*** π¨ **Reminder!** Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! π ππ¨ π [Find out how to migrate...
## The dependency [is-it-type](https://github.com/overlookmotel/is-it-type) was updated from `1.2.0` to `2.0.0`. This version is **not covered** by your **current version range**. If you donβt accept this pull request, your project will...
*** βοΈ **Important announcement:** Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! [Find out how to migrate to Snyk and more at...
IDs would replace `chunkName` option. It'd be better to use same approach as [react-lazy-data](https://www.npmjs.com/package/react-lazy-data)'s Babel plugin.
*** βοΈ **Important announcement:** Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! [Find out how to migrate to Snyk and more at...
## The devDependency [@overlookmotel/eslint-config-react](https://github.com/overlookmotel/eslint-config-react) was updated from `5.0.0` to `6.0.0`. This version is **not covered** by your **current version range**. If you donβt accept this pull request, your project will...