4 ms·
The CSS doesn't need to be in the JS. You can trivially just fetch the static CSS file in JS then have the content adopted.
by mattlondon 3y ago
The CSS doesn't need to be in the JS. You can trivially just fetch the static CSS file in JS then have the content adopted.
- Inviz 3y agoYeah but flash of unstyled content? Plus you need to somehow adopt only related parts? Selectors wouldnt match easily necessarily, e.g. decision to adopt :hover selector must be made somehow