Some (a lot?) is on node core and the modules story. The .mjs proposal is going to wreak havoc on the FE ecosystem, which uses .js for years
-
-
Baha, wait
@jankrems are you saying ship native esm for node or browserland -
Node. We're using node for initial render and would loathe to lose native debugging / inspection.
-
I mean if the only es thing your doing in node is the module syntax, that really is only.going to affect module boundaries. Source maps?
-
Source maps don’t compare to actual live editing of the running code. Parts are about bootstrap/startup (“time to listen”).
-
E.g. ES6 modules allow to move file loading to additional threads during boot. If you actually use the async loading.
-
Have you got any numbers on using async file reading vs sync loading?
-
Very quick test shows noticeable differences (30% speedup in a play example): https://github.com/jkrems/loading
-
Worth noting though that these are almost empty files, so neither read nor parse is “interesting”.
- 6 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.
