Could this help us with lazy load with react.lazy
See original GitHub issueJust curious to know, could we use react-ssr-prepass to handle React.lazy imports on SSR?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Lazy Loading React Components With React.lazy & Suspense
So you should only use React.lazy when you need to load a component asynchronously. The component is not readily needed in the initial...
Read more >React lazy loading and performance - Retool
The React.lazy() function allows you to render a dynamic import as a normal component. It makes it simple to construct components that are ......
Read more >javascript - React lazy loading - when to use - Stack Overflow
No, for every component it no needed. It make sense to use for each layout or page. A good place to start is...
Read more >Lazy loading React components - LogRocket Blog
React.lazy() makes it easy to create components that are loaded using dynamic import() but rendered like ...
Read more >React Lazy Loading: The Best Complete Guide - CopyCat Blog
The major benefit of lazy loading in React is performance. Loading less JavaScript code to the browser will reduce DOM load time and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Indeed there’s some dedicated logic that’ll preload
React.lazycomponents 😃 https://github.com/FormidableLabs/react-ssr-prepass/blob/master/src/render/lazyComponent.jsYes, this library is meant to provide
Suspensesupport on the server, this means that thrown promises likelazyor a data-library supportingsuspensewill be supported on the server-side render.