Loadable-component doesn't have any stratgies for prefetching
See original GitHub issueDo you want to report a bug or request a feature?
React cool starter uses loadable-components
which doesn’t support prefetch of chunks in SSR
and there is no future target towrad it.
Expected Behavior
Replacing package with react-loadable
would be beneficiary
Actual Behavior
In SSR
page rendering takes place with out any related styles which results in FOUC.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Prefetching - Loadable Components
Manually preload a component. It is possible to force the preload of a component. It has the same effect as if the component...
Read more >Preload scripts #77 - gregberge/loadable-components - GitHub
Can I some hove get the path to chunk for creating preload scripts on the ... Loadable-component doesn't have any stratgies for prefetching...
Read more >An introduction to Webpack Code-Splitting, Loadable ...
An introduction to Webpack Code-Splitting, Loadable/component, and Resource Hints. webpack, loadable components, and prefetch and preload ...
Read more >Why are my prefetched scripts not being used? (webpack)
The prefetch request has a different Accept value in its header (requests ... import loadable from '@loadable/component'; import React from ...
Read more >@merchx-v2/react-snap NPM | npm.io
The same approach will work with React.lazy , but React.lazy doesn't provide a prefetch method ( load or preload ), so you need...
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 FreeTop 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
Top GitHub Comments
@MortezaT I’ll take time to consider about it, thanks
I have the same issue(FOUC) with my loadable components. Please advise.