react-prerendered-component icon indicating copy to clipboard operation
react-prerendered-component copied to clipboard

CSS Chunks?

Open 88kami88 opened this issue 5 years ago • 1 comments

You would still need something like webpack-flush-chunks to determine which CSS chunks are needed for the initial render correct?

Assuming one is using CSS chunks...

88kami88 avatar Apr 25 '19 23:04 88kami88

Not quite. To be more concrete - it shall be done by another library. Having in mind fragment caching - standard solutions might not be applicable. Try used-styles which works on HTML-only level to determine, well, used styles, and interleave your HTML with them.

theKashey avatar Apr 25 '19 23:04 theKashey