Hono + Htmx + Cloudflare: A New Stack? — A lot of people seem to be jumping on htmx lately as an alternative to the complexity of frameworks like React, but what if you want to keep using JSX? Hono is a (vaguely Express-like) Web framework targeting edge function use cases and includes middleware for rendering JSX. Yusuke gives a quick example of how all this can come together with Cloudflare Workers and D1 for a simpler, full-stack JS experience. Yusuke Wada |
Shrinking VS Code with Name Mangling — There’s a fair bit of JavaScript in VS Code but the team has managed to reduce the size of the shipped code by almost 4MB without actually doing any deleting or refactoring thanks to a new ‘name mangling’ build step. This is a great read on how the team approached things and got it working. Matt Bierner |
New Course: The Hard Parts of UI Development — Develop an under-the-hood knowledge of UI development by learning techniques such as data binding, UI composition, templating, virtual DOM and its reconciliation, and hooks, all from scratch! Frontend Masters |
Microsoft TypeChat: An Approach for Type-Safe LLM Responses — A new project with some prominent names attached (the designer of C# and PM for TypeScript, for starters) that demonstrates the excitement within MS for large language models (LLMs). TypeChat aims to work around the problem of LLMs outputting hard-to-parse natural language and to direct such output into a predictable, typed form. Hejlsberg, Lucco, Rosenwasser et al. |
⚡️ IN BRIEF: 🐦 React/Redux's Dan Abramov is leaving Meta. Having achieved so much and reaching a point where he feels ready to move on, Dan is departing Meta but will remain on the React team as an independent third party. 💙 📘 The Concise TypeScript Book is, unsurprisingly, a guide to using TypeScript. More surprisingly, it's all on GitHub and free to read. Hurrah. Tixy is an interactive page for learning logic, math and expressions by solving puzzles using a visual grid. It starts off very simply, but gets elaborate quickly. This is a neat way to pick up some of the skills needed for Dwitter. JSPlayground is a new Web-based JavaScript sandbox tool. Is the term 'Jamstack' finished? Brian Rinaldi wonders. |
🎉 RELEASES: Bun 0.7 – The JavaScriptCore-based alternative JS runtime adds (experimental) Vite support, Web Workers support, and includes a --smol option to run in memory constrained environments (with a significant memory reduction shown off in the post). Astro 2.9 – The 'zero JS by default' framework adds experimental support for view transitions and more. Neutralinojs v4.13.0 – Lightweight cross-platform desktop app framework. Remix 1.19 – Modern full-stack JS framework. Node.js v20.5.0 (Current) |
Find JavaScript Jobs with Hired — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now. Hired |
🧑💻 Got a job listing to share? Here's how. |
|
gridstack.js 8.4 ↳ Framework agnostic dashboard layout and creation. amqp-client.js 3.0 ↳ AMQP 0-9-1 client for both Node and browser (via WebSocket). FingerprintJS 4.0 ↳ Browser fingerprinting library. No longer open source. MQTT.js 5.0 – MQTT client for Node and browser. |
🙈 Taking things too far.. |
We'll support anyone who's keen to reduce the amount of needless JavaScript that goes over the wire (👋 Astro or Qwik) but sometimes, just sometimes, you can go too far with the endeavor to almost comedic effect: |
😱 Implementing Tic Tac Toe with 170MB of HTML — Unsurprisingly, the demo (which we’ve not linked to here) brought my browser to a crashing halt, but it’s fun to see a developer take on the challenge of using Chrome’s support for popovers and the state of said popovers along with a huge pile of HTML to handle a game of Tic Tac Toe. Don’t repeat this in production, folks.. Gareth Heyes | |