by danabramov · 2y ago · 0 comments
If you untick "Disable cache", it's loaded once and gets cached.
The only case when this code gets loaded is the literally the first cold load of the entire site — and it's only used for powering live editable interactive sandboxes (surely you'd expect a in-browser development environment to require some client-side code). It doesn't block the initial rendering of the page.
What is the problem?
Also, FWIW, OP is one of the authors of react.dev and a member of the react core team (not that it's relevant to the objection).