Plus Prettier 3.2, heat maps, satellites, and the golden rule of assertions. |
console.delight — You use console.log to output text, but did you know that in the browser console it can be used to render other things, like SVGs and HTML? This post is packed with examples and goes deeper into the creative options opened up by the technique than you’ll probably ever need 😅 Zach Saucier |
The AHA Stack: Another Way to Build Modern Webapps — The AHA Stack is a full-stack webapp approach that brings together Astro, htmx, and Alpine.js, and where you send HTML over the wire. This is a fantastic showcase site that sells the idea well, complete with explanations and examples. Flavio Copes |
Transform the Way You Handle Forms with SurveyJS Form Libraries — With SurveyJS UI components you can set up a powerful form management system fully integrated into your IT. Effortlessly build, edit and style dynamic JSON-based forms in the drag & drop form builder with an integrated CSS-based theme editor. SurveyJS |
React Libraries for 2024 — The latest update of a popular, opinionated, annual guide to libraries and tools suitable for various tasks when building React apps, covering areas like state management, UI libraries, authentication, and testing. Robin Wieruch |
IN BRIEF: htmx has just become 0 clause BSD-licensed. It was 2 clause BSD before – the main change being attribution is no longer required on redistribution. Yagiz Nizipli ▶️ went on the Syntax․fm podcast to talk about all things JS performance related. A showcase of what PWAs can do today. A look at how to compile a standalone executable using modern JavaScript runtimes. RELEASES: Prettier 3.2 – The popular code formatter gains support for JSONC and Angular ICU expressions. Knip 4.0 – Find and remove unused files and dependencies. ReScript 11.0 – OCaml-inspired, typed 'compile to JS' language. Node.js v21.6.0 (Current) Node.js v20.11.0 (LTS) – Now with import.meta.dirname and import.meta.filename |
The Golden Rule of Assertions — Artem shares a tip that helps him write better tests or, as he calls it, the ‘Golden Rule of Assertions’: “A test must fail if, and only if, the intention behind the system is not met.” Artem Zakharchenko |
Some Top Frontend Tools of 2023 — Louis walks through a collection of tools that he found useful in the past year. It's a rather eclectic selection – I certainly hadn't heard of many of them – and you're sure to find some that could help in your day-to-day work. Louis Lazaris |
Tinybench: A Tiny, Simple Benchmarking Library — No dependencies – it uses whatever timing capabilities are available (e.g. process.hrtime or peformance.now). You can then benchmark whatever functions you want, specify how long/how many times to benchmark, and get a variety of stats back. Tinylibs |
🗓 Schedule-X 1.9 – Event calendar/date picker (above). 🤖 LangChain 0.1.0 – A popular LLM app framework available in both Python and JavaScript variants. Frappe 15.10 – Low code Python + JavaScript web framework. React Redux 9.1 – Adds a new syntax for pre-typing hooks. NanoPop 2.4 – Fast, minimal positioning engine. 🧊 d3-3d 1.0 – D3-powered visualizations, but 3D. Angular 17.1 – 🐦 More context here. | |