JavaScript Weekly Difficulty 677: February 29, 2024

0
1


PGlite: PostgreSQL in WebAssembly (and TypeScript) — Folks have introduced Postgres into the browser earlier than, albeit atop a Linux VM WASM layer. PGlite, nevertheless, packages a WASM construct of Postgres right into a TypeScript library that may be run within the browser or on Node.js or Bun and is just 3.7MB gzipped. You may play with a reside deployment right here.

ElectricSQL / Neon

JSR: What We Know So Far About Deno’s New JS Package deal Registry — The Deno crew is cooking up JSR (nonetheless behind a waitlist), a brand new JavaScript package deal registry (not merely a package deal administration software, like pnpm or Yarn) to handle varied npm limitations, together with for Node customers who do not even plan to make use of Deno.

Sarah Gooding (Socket)

Follow Your JavaScript by way of Vanilla JS Tasks — Be part of Anjana Vakil for this in depth video course on vanilla JavaScript tasks. Sort out real-world duties and discover ways to use asynchronous JS, Browser APIs, the DOM, Node.js, GitHub Actions, and extra.

Frontend Masters

Parcel v2.12.0: Now with Bun-Model Macros — The favored zero-config construct software introduces assist for bundle-time macros, reminiscent of these supplied in Bun. The worth returned by a macro is inlined into the bundle instead of the unique name. There’s additionally a brand new on-line REPL the place you’ll be able to play with Parcel within the browser with assist for many of Parcel’s options.

Parcel.js

IN BRIEF:

  • TypeScript 5.4 RC has been launched, packing plenty of small adjustments, in addition to Object.groupBy, Map.groupBy, and sort narrowing enhancements.

  • Christopher Chedeau (aka Vjeux) has written about his 12 years at Meta, together with being concerned within the early days of each React and React Native.

  • A abstract of latest updates to the V8 JavaScript engine.

  • 🇪🇺 Fed up with Apple’s nonsense round eradicating PWA assist within the European Union? Open Internet Advocacy has an open letter you’ll be able to co-sign.

RELEASES:

  • Specific.js 4.18.3 – The primary launch in sixteen months. 😁

  • Deno 1.41 – Now with a lot smaller deno compile binary sizes, official Linux ARM64 binaries, and enhancements to Node.js compatibility.

  • Playwright 1.42 – Browser distant management and runner toolkit.

  • Babel 7.24.0 – Helps importing JSON modules and updates its Decorators implementation.

  • TinyMCE 7.0 – Wealthy textual content editor element – now GPL licensed.

📒 Articles & Tutorials

A Enjoyable Line of JavaScript Code — Specifically, utilizing Promise.race to go looking by way of audio recordsdata forwards and backwards on the similar time and cease as quickly because the related metadata is discovered.

David Bushell

Waku: A Minimal Server-Facet React Framework — From the maintainer of Jotai, Valtio, and Zustand, Waku is a lighter various to one thing like Subsequent.js however that also opens up the potential of server parts, shared parts, and chic routing, in a less complicated, simpler to use manner.

Daishi Kato

Neon is Postgres from the Future — Scales to zero when idle, autoscales based mostly on load, provisions immediately. Beneficiant free tier – no bank card required.

Neon Serverless Postgres

LEAVE A REPLY

Please enter your comment!
Please enter your name here