Running Node natively in the browser

May 21, 2021 By Mark Otto 0

Introducing WebContainers: Run Node.js Natively in the Browser — An interesting new WebAssembly-based operating system that boots instantly and enables Node.js environments to run directly in the browser. People have been getting very excited about this on Twitter. Only supports Chromium-based browsers for now though.

Eric Simons (StackBlitz)

New & Updated Course: Complete Intro to React v6 with Brian Holt — Learn to build real-world applications using modern React. Much more than an intro, you’ll start from the ground up, getting to using the latest features in React, including hooks, effects, context, and portals, plus piecing together tools from the entire React ecosystem.

Frontend Masters

Parcel 2 Beta 3: A Wild Rust Appears! — How does a ‘beta 3’ release get a feature? By having its JavaScript compiler entirely rewritten in Rust is how. This change yields a “10x faster” compiler and continues an ongoing trend of writing JavaScript tools in other languages (such as esbuild, written in Go). There is more to the release, though – details within.

ParcelJS

Quick Bits

Releases

Node 16.2.0
create-node-cli 1.6.0 — Tool to create new Node CLI projects.
lowdb 2.0.0 — Tiny local JSON database for small projects.

📖 Articles, Opinions & Tutorials

Tree-Shaking: A Reference Guide — A high-level, though comprehensive, introduction to what ‘tree shaking’ is all about. The basic idea is that unused code from modules you use gets ‘shaken’ off like dead leaves on a tree.

Átila Fassina

▶  ‘TypeScript is Testing’ — In a 3-minute micro podcast episode, Kent makes the argument that TypeScript is like testing because of the extra confidence it gives you about your code.

Kent C Dodds podcast

▶  Frontend Development in 2021: A Complete Guide — A tight 20-minute look at the frontend landscape, covering the libraries and tech you’ll want to know. One worth sharing with anyone you know who’s interested in getting into the space.

Harry Wolff

🛠 Code & Tools

Sublime Text 4 Released — While VS Code has become extremely popular in the past few years, Sublime Text used to be huge and it’s great to see a new major version. TypeScript, JSX and TSX support are baked in, as is Apple Silicon support, GPU rendering, and more.

Sublime Blog

💚 Use Node? Check out the latest issue of Node Weekly, our sibling email about all things relating to Node.js — from tutorials and screencasts to news and releases. Yep, we do include some Node related items here in JavaScript Weekly, but we save most of it for there.

→ Check out Node Weekly today

🎵 And one for fun..