POTENTIALLY YES! With some strong caveats and limitations if you want to drop the runtime completely. But if you're willing to 1/
And I don't know what Fiber does for you here (aside from fewer janky frames overall). Total work the same.
-
-
Is "double parse" what happens when CSS strings are embedded in JS like Webpack does?
-
If the CSS string is loaded from XHR, substr, then inserted. Does that avoid the problem or is Chrome's CSS parser unable to use the string?
- 9 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.
Would love to see more folks move to what can be statically analyzed to drop double parse costs of runtime CSS-in-JS.