March 26, 2024  |
Lots of Node.js news in this issue! We have added sections to help you skip it in case you are not interested.
Axel & Jowe |
|
|
|
require(esm) in Node.jsjoyeecheung.github.io github.com/joyeecheung “Recently I landed experimental support for require() -ing synchronous ES modules in Node.js, a feature that has been long overdue. In the pull request, I commented with my understanding about why it did not happen sooner before this pull request in 2024. This post expands on that comment a bit more.” |
|
|
|
|
|
|
|
|
Kuto: ship JavaScript updates incrementallysamthor.au @samthor@mastodon.social "Roughly, Kuto splits web app bundles into:
- a “corpus” part with side-effect free code which can be cached for a long time
- a “main” part with the remaining code
The main part changes with each update. If the corpus part changes:
- Old functionality that’s not needed anymore: This code remains as junk in the old corpus (which is usually still cached).
- New functionality: Is put into a new, additional corpus file. The article explains how Kuto handles the fragmentation caused by creating new corpus files.
Why do this? Updates get smaller and can be loaded faster because they use what’s already cached locally." |
|
|
|
What do you think of this issue?If you have any comments or feedback, just reply to this email! |
|
This email was sent to {{ email | default }}. You can unsubscribe from this list here or update your preferences. |
|