星期五 06 晚上 七月 25o 2025
Will WebAssembly ever get DOM support?
#746 — July 25, 2025
Together with
JavaScript Weekly
es-toolkit: A Modern JavaScript Utility Library — Boasts being both faster and ‘97% smaller’ than the ubiquitous Lodash, for which it is a direct ‘seamless’ replacement (and now boasting 100% Lodash compatibility). The reference guide shows off all it can do, and it’s widely adopted — being used by Storybook, CKEditor, and recommended by Nuxt. GitHub repo.
Viva Republica, Inc
Avoid Common Mistakes in React and Next.js — Avoid redundant useState and useEffect, deeply nested data, unscalable forms, and hidden shared state bugs. David Khourshid teaches practical patterns to refactor complex apps and scale with confidence!
Frontend Masters sponsor
When is WebAssembly Going to Get DOM Support? — Working with the DOM from JavaScript is straightforward, but WebAssembly requires glue code to do it. Is this going to change? Daniel of the TC39 committee digs into the issue here and says that modern build toolchains and WASM’s evolution are making things easier all the time.
Daniel Ehrenberg
IN BRIEF:
Over on X, Feross Aboukhadijeh explains a major supply chain breach in the JS ecosystem where popular packages, including is
, were hijacked to ship malware. Here’s an article on the specifics, if you’d prefer.
npm took down the stylus
package for a while, due to security issues, which caused quite a few problems.. this is a rather extensive story.
🇪🇸 ¿Hablas español? EsJS is a strikingly well-presented experiment – complete with online playground – to let you write JavaScript in Spanish.
A comparison of Biome and Oxlint when it comes to offering fast, type-aware linting rules.
RELEASES:
Bun v1.2.19 – The fast JS runtime now supports pnpm-style isolated node_modules
with bun install
, offers an interactive dependency updating feature, and more. Bun 1.3 is also expected very soon.
PythonMonkey 1.2 – Embed the SpiderMonkey JS engine into Python’s VM.
React Native Reanimated 4.0 – React Native’s Animated reimplemented.
📖 Articles and Videos
A JS ‘Numbers Station’ in 1 Kilobyte — We’ve recently promoted the js1024 JavaScript code golfing contest – it’s now over, but Terence breaks down his interesting entry which recreates the vibe of real-life numbers stations.
Terence Eden
💡 You can also look through all the other js1024 submissions.
Revisiting My 2010 JavaScript Library — A developer looks back at code he wrote 15 years ago, the ‘clever solutions’ he used, and why most of it is redundant in 2025.
Ibrahim Diallo
Build an MCP Server in Your Next.js Application with Clerk — Add a spec-compliant MCP endpoint in minutes, allowing LLMs to access user data with user consent.
Clerk sponsor
Web Serial: The Only Reason I’ll Admit JavaScript Isn’t All Bad — The author isn’t a fan of JavaScript but likes the power the Web Serial API provides for working with external devices.
Steven Hicks
📄 ‘It’s Time for Modern CSS to Kill the SPA’ – “Use modern server rendering. Use actual pages. Animate with CSS. Preload with intent” Jono Alderson
📄 We Migrated Our Next.js Site to Eleventy and Increased Performance by 24% – Eleventy (11ty) is a popular Node-based static site generator. Dan Webb
📄 Handling JavaScript Event Listeners with Parameters Amejimaobari Ollornwi
📄 Build Your Own Font Search Engine – Using vision language models to index and search the fonts. Lúí Smyth
📄 Interactive Text Destruction with Three.js, WebGPU, and Three Shader Language Lolo Armdz
📄 React Router and React Server Components: The Path Forward Ebey and Dalgleish
🛠 Code & Tools
Transformers.js 3.7: Machine Learning and Models for the Web — Brings the ability to run powerful pretrained models in the browser, thanks to the ONNX runtime. v3.7 adds Voxtral (speech transcription and audio understanding), LFM2 and ModernBERT support.
Hugging Face
npq: Safely Install Packages by Auditing Them Pre-Install — npq
performs several extra steps compared to npm
. It consults Snyk’s database of vulnerabilities, looks at the package’s age, download count, and docs, and tries to paint a better picture of what you’re really installing.
Liran Tal
Measure Web Performance Based on Real User Impact — With Embrace, get full session timelines, Core Web Vitals and JS exceptions in context, and user journey analysis.
Embrace sponsor
Untitled UI React: A Fresh UI Component Library — A giant collection of open-source (MIT) components built around Tailwind CSS and React Aria – there’s a full introduction here. It’s not only open source, with a ‘PRO’ offering with more components, examples, and Figma integration.
Untitled UI
ts-regexp: A Statically Typed Alternative to JavaScript’s RegExp — A new approach for bringing strict typing to regular expressions in TypeScript.
Danilo Furrer
📊 ApexCharts 5.3 – Popular JS charting library. Now with data parsing abilities for directly mapping raw data objects to charts. (Demos.)
vue-multiselect 3.3 – Universal select/multiselect/tagging component for Vue.
eslint-plugin-unicorn 60.0 – 100+ useful ESLint rules in one place.
📰 Classifieds
Meticulous automatically creates and maintains an E2E UI test suite with zero developer effort. Relied on by Dropbox, Wiz, Lattice, Bilt Rewards, etc.
🔍 Discover KeyLines - a scalable JavaScript graph visualization toolkit that turns complex data into actionable insights.
🎁 Some Bonus Items
SVG (Scalable Vector Graphics) is a widely supported and powerful graphics format and Josh W Comeau has put together a fantastic ‘friendly’ introduction to SVG showing off what you can do with it.
The State of HTML 2025 survey is now open to take – it’s not just a survey; you’ll probably learn a few things at the same time too.
Google has unveiled OSS Rebuild, a new attempt to make open source ecosystems (like npm) more secure by allowing the comparison of packages with upstream artifacts.
🎉 Popular developer resource MDN is celebrating its 20th birthday.
Published by Cooperpress and edited by Peter Cooper
‘JavaScript’ is a trademark of Oracle Corporation in the US
We are not endorsed by or affiliated with Oracle.
#746 — July 25, 2025
Together with
JavaScript Weekly
es-toolkit: A Modern JavaScript Utility Library — Boasts being both faster and ‘97% smaller’ than the ubiquitous Lodash, for which it is a direct ‘seamless’ replacement (and now boasting 100% Lodash compatibility). The reference guide shows off all it can do, and it’s widely adopted — being used by Storybook, CKEditor, and recommended by Nuxt. GitHub repo.
Viva Republica, Inc
Avoid Common Mistakes in React and Next.js — Avoid redundant useState and useEffect, deeply nested data, unscalable forms, and hidden shared state bugs. David Khourshid teaches practical patterns to refactor complex apps and scale with confidence!
Frontend Masters sponsor
When is WebAssembly Going to Get DOM Support? — Working with the DOM from JavaScript is straightforward, but WebAssembly requires glue code to do it. Is this going to change? Daniel of the TC39 committee digs into the issue here and says that modern build toolchains and WASM’s evolution are making things easier all the time.
Daniel Ehrenberg
IN BRIEF:
Over on X, Feross Aboukhadijeh explains a major supply chain breach in the JS ecosystem where popular packages, including is
, were hijacked to ship malware. Here’s an article on the specifics, if you’d prefer.
npm took down the stylus
package for a while, due to security issues, which caused quite a few problems.. this is a rather extensive story.
🇪🇸 ¿Hablas español? EsJS is a strikingly well-presented experiment – complete with online playground – to let you write JavaScript in Spanish.
A comparison of Biome and Oxlint when it comes to offering fast, type-aware linting rules.
RELEASES:
Bun v1.2.19 – The fast JS runtime now supports pnpm-style isolated node_modules
with bun install
, offers an interactive dependency updating feature, and more. Bun 1.3 is also expected very soon.
PythonMonkey 1.2 – Embed the SpiderMonkey JS engine into Python’s VM.
React Native Reanimated 4.0 – React Native’s Animated reimplemented.
📖 Articles and Videos
A JS ‘Numbers Station’ in 1 Kilobyte — We’ve recently promoted the js1024 JavaScript code golfing contest – it’s now over, but Terence breaks down his interesting entry which recreates the vibe of real-life numbers stations.
Terence Eden
💡 You can also look through all the other js1024 submissions.
Revisiting My 2010 JavaScript Library — A developer looks back at code he wrote 15 years ago, the ‘clever solutions’ he used, and why most of it is redundant in 2025.
Ibrahim Diallo
Build an MCP Server in Your Next.js Application with Clerk — Add a spec-compliant MCP endpoint in minutes, allowing LLMs to access user data with user consent.
Clerk sponsor
Web Serial: The Only Reason I’ll Admit JavaScript Isn’t All Bad — The author isn’t a fan of JavaScript but likes the power the Web Serial API provides for working with external devices.
Steven Hicks
📄 ‘It’s Time for Modern CSS to Kill the SPA’ – “Use modern server rendering. Use actual pages. Animate with CSS. Preload with intent” Jono Alderson
📄 We Migrated Our Next.js Site to Eleventy and Increased Performance by 24% – Eleventy (11ty) is a popular Node-based static site generator. Dan Webb
📄 Handling JavaScript Event Listeners with Parameters Amejimaobari Ollornwi
📄 Build Your Own Font Search Engine – Using vision language models to index and search the fonts. Lúí Smyth
📄 Interactive Text Destruction with Three.js, WebGPU, and Three Shader Language Lolo Armdz
📄 React Router and React Server Components: The Path Forward Ebey and Dalgleish
🛠 Code & Tools
Transformers.js 3.7: Machine Learning and Models for the Web — Brings the ability to run powerful pretrained models in the browser, thanks to the ONNX runtime. v3.7 adds Voxtral (speech transcription and audio understanding), LFM2 and ModernBERT support.
Hugging Face
npq: Safely Install Packages by Auditing Them Pre-Install — npq
performs several extra steps compared to npm
. It consults Snyk’s database of vulnerabilities, looks at the package’s age, download count, and docs, and tries to paint a better picture of what you’re really installing.
Liran Tal
Measure Web Performance Based on Real User Impact — With Embrace, get full session timelines, Core Web Vitals and JS exceptions in context, and user journey analysis.
Embrace sponsor
Untitled UI React: A Fresh UI Component Library — A giant collection of open-source (MIT) components built around Tailwind CSS and React Aria – there’s a full introduction here. It’s not only open source, with a ‘PRO’ offering with more components, examples, and Figma integration.
Untitled UI
ts-regexp: A Statically Typed Alternative to JavaScript’s RegExp — A new approach for bringing strict typing to regular expressions in TypeScript.
Danilo Furrer
📊 ApexCharts 5.3 – Popular JS charting library. Now with data parsing abilities for directly mapping raw data objects to charts. (Demos.)
vue-multiselect 3.3 – Universal select/multiselect/tagging component for Vue.
eslint-plugin-unicorn 60.0 – 100+ useful ESLint rules in one place.
📰 Classifieds
Meticulous automatically creates and maintains an E2E UI test suite with zero developer effort. Relied on by Dropbox, Wiz, Lattice, Bilt Rewards, etc.
🔍 Discover KeyLines - a scalable JavaScript graph visualization toolkit that turns complex data into actionable insights.
🎁 Some Bonus Items
SVG (Scalable Vector Graphics) is a widely supported and powerful graphics format and Josh W Comeau has put together a fantastic ‘friendly’ introduction to SVG showing off what you can do with it.
The State of HTML 2025 survey is now open to take – it’s not just a survey; you’ll probably learn a few things at the same time too.
Google has unveiled OSS Rebuild, a new attempt to make open source ecosystems (like npm) more secure by allowing the comparison of packages with upstream artifacts.
🎉 Popular developer resource MDN is celebrating its 20th birthday.
Published by Cooperpress and edited by Peter Cooper
‘JavaScript’ is a trademark of Oracle Corporation in the US
We are not endorsed by or affiliated with Oracle.
发布者