π₯7β€3
π Issue 12 / 08.06.2023
π Polywasm: A Polyfill to Run WASM in JS Environments
The creator of esbuild is back with something fresh: a polyfill that uses live translation to be able to run
EVAN WALLACE
π Announcing TypeScript 5.1
This release of the statically typed JavaScript superset is a gentle 'quality of life' step forward rather than a featureful extravaganza, but we get support for linked editing of JSX tag names, namespaced JSX attributes, the ability to have unrelated types for getters and setters, and
DANIEL ROSENWASSER (MICROSOFT)
Β©οΈJS WEEKLY
π Polywasm: A Polyfill to Run WASM in JS Environments
The creator of esbuild is back with something fresh: a polyfill that uses live translation to be able to run
.wasm
files in JS environments that either lack a WebAssembly implementation or have it disabled. You can see how it performs in this special version of the esbuild playground.EVAN WALLACE
π Announcing TypeScript 5.1
This release of the statically typed JavaScript superset is a gentle 'quality of life' step forward rather than a featureful extravaganza, but we get support for linked editing of JSX tag names, namespaced JSX attributes, the ability to have unrelated types for getters and setters, and
undefined`-returning functions no longer need an explicit `return
.DANIEL ROSENWASSER (MICROSOFT)
Β©οΈJS WEEKLY
β€8
β‘οΈ IN BRIEF
π Douglas Crockford, of JS: The Good Parts fame, π¬ is back pointing out JavaScript is a 'smelly' language and 'it's time for the next thing.' π¬ βοΈ
π MDN's reference pages on regular expressions in JavaScript have been substantially improved.
π From Apple's WWDC this week comes π¬ a handy presentation on Safari's DevTools, plus a barrage of news about Safari enhancements around the 'spatial web', JPEG XL support, the popover API, offscreen canvas support, local storage policies, extra JS regex features, and more.
π Emma Twersky shares everything Angular related from the recent Google I/O 2023 event.
π Douglas Crockford, of JS: The Good Parts fame, π¬ is back pointing out JavaScript is a 'smelly' language and 'it's time for the next thing.' π¬ βοΈ
π MDN's reference pages on regular expressions in JavaScript have been substantially improved.
π From Apple's WWDC this week comes π¬ a handy presentation on Safari's DevTools, plus a barrage of news about Safari enhancements around the 'spatial web', JPEG XL support, the popover API, offscreen canvas support, local storage policies, extra JS regex features, and more.
π Emma Twersky shares everything Angular related from the recent Google I/O 2023 event.
π₯3
ARTICLES & TUTORIALS
π Why (and How) You Should Write Your WebAssembly in TypeScript
Performance is the main argument made by the author who shows off Wasmati, a library for creating WebAssembly modules by writing TypeScript using an API that corresponds to WASM operations. It works in modern browsers, Node, and Deno.
GREGOR MITSCHA-BAUDE
π Backtick Strings are Likely the Wrong Tool for Your Job
Itβs too common to try to put together query strings using JavaScriptβs template strings, says Mattie, and this leads to potential injection problems. Luckily, thereβs an alternative way..
MATTIE BEHRENS
π Is React Having an 'Angular.js Moment'?
The author puts forward an argument comparing the discontinuity from AngularJS to Angular 2 in 2014 with current shifts in the React ecosystem.
FRANΓOIS ZANINOTTO
π Why (and How) You Should Write Your WebAssembly in TypeScript
Performance is the main argument made by the author who shows off Wasmati, a library for creating WebAssembly modules by writing TypeScript using an API that corresponds to WASM operations. It works in modern browsers, Node, and Deno.
GREGOR MITSCHA-BAUDE
π Backtick Strings are Likely the Wrong Tool for Your Job
Itβs too common to try to put together query strings using JavaScriptβs template strings, says Mattie, and this leads to potential injection problems. Luckily, thereβs an alternative way..
MATTIE BEHRENS
π Is React Having an 'Angular.js Moment'?
The author puts forward an argument comparing the discontinuity from AngularJS to Angular 2 in 2014 with current shifts in the React ecosystem.
FRANΓOIS ZANINOTTO
π₯6π2
π6β€5
π6β€5π€£2
What is the output?
Anonymous Quiz
50%
A, E, B, C, D
20%
A, E, D, B, C
11%
A, E, D, C, B
19%
A, B, C, D, E
β€17π4π€£1
What is the output?
Anonymous Quiz
33%
object, object
11%
class, object
25%
function, object
31%
object, undefined
π9β€3π₯2
Deploying a Website on Firebase and Using It for Free: A Guide
Firebase offers features such as a real-time database, authentication, hosting, cloud storage, and more. Firebase also provides backend functionalities and infrastructure, allowing developers to focus on building their apps without worrying about server management or complex infrastructure setup.
PROFLEAD
Firebase offers features such as a real-time database, authentication, hosting, cloud storage, and more. Firebase also provides backend functionalities and infrastructure, allowing developers to focus on building their apps without worrying about server management or complex infrastructure setup.
PROFLEAD
π₯6β€5
π10π€8
π Issue 13 / 14.06.2023
π An Introduction to Debugging Tools and Approaches for Node
An informative primer on debugging, from simple things like using IDE extensions to highlight potential problems or, yes, console logging, through to using the V8 inspector and debugging via Chrome.
CRAIG BUCKLER
π Node v20.3.0 (Current) Released
On paper, it's a minor release, but a libuv upgrade (the library that provides Node with its async I/O functionality) introduces significant performance improvements on Linux, `AbortSignal.any()` has been introduced.
MICHAΓL ZASSO
π Designing a Scalable Backend in Node
Three arbitrary scaling challenges for Node apps examined through the lens of a hypothetical personal budgeting app that has to interact with third party APIs.
NATE ANDERSON
Β©οΈNODE.JS WEEKLY
π An Introduction to Debugging Tools and Approaches for Node
An informative primer on debugging, from simple things like using IDE extensions to highlight potential problems or, yes, console logging, through to using the V8 inspector and debugging via Chrome.
CRAIG BUCKLER
π Node v20.3.0 (Current) Released
On paper, it's a minor release, but a libuv upgrade (the library that provides Node with its async I/O functionality) introduces significant performance improvements on Linux, `AbortSignal.any()` has been introduced.
MICHAΓL ZASSO
π Designing a Scalable Backend in Node
Three arbitrary scaling challenges for Node apps examined through the lens of a hypothetical personal budgeting app that has to interact with third party APIs.
NATE ANDERSON
Β©οΈNODE.JS WEEKLY
β€5π₯2
π CODE & TOOLS
π tz-lookup 8.0: Fast Time Zone Estimations from Latitude and Longitude
MATTHEW MCEACHEN
π© Traf: Find Truly Affected Packages in Monorepos
If youβre waiting on CI tasks due to a small package update in your monorepo, this is for you. Traf optimizes your monorepo dev process by finding affected dependencies and selectively triggering builds and tests only when needed.
LEMONADE
π© WhatWG Node: WhatWG Standard API Packages for Node
Using the ponyfill approach (nothing is patched or modified under the hood) you can use the Fetch standard both in a client or server adapter context, as well as the DOM Events Standard.
ARDA TANRIKULU
π tz-lookup 8.0: Fast Time Zone Estimations from Latitude and Longitude
βThis package trades speed and size for accuracy.β
At 10x smaller and 20x faster than node-geo-tz, this might be accurate enough for your timezone inference use cases.MATTHEW MCEACHEN
π© Traf: Find Truly Affected Packages in Monorepos
If youβre waiting on CI tasks due to a small package update in your monorepo, this is for you. Traf optimizes your monorepo dev process by finding affected dependencies and selectively triggering builds and tests only when needed.
LEMONADE
π© WhatWG Node: WhatWG Standard API Packages for Node
Using the ponyfill approach (nothing is patched or modified under the hood) you can use the Fetch standard both in a client or server adapter context, as well as the DOM Events Standard.
ARDA TANRIKULU
β€7π2