Issue #291 · September 19, 2022

How QRCode works

“Never trust a computer you can’t throw out a window”

How QRCode works 🤯

How QRCode works 🤯

If you know me, you have probably noticed that I am fascinated by QRCodes (I even wrote a Rust decoder for the Covid certificates!). I admit though I have never looked into how QRCodes actually encode the data. This post blew my mind. If you are curious to know how you could generate a QRCode from scratch check this one out. I promise it's really fascinating.

Articles

How the JavaScript DOM Works

OK, I admit the previous article was a bit off-topic... Let's look into something closer to the theme of full stack web development: how the DOM (Document Object Model) works! The DOM is a fundamental concept when writing frontend apps in JavaScript, so let's dive in!

useSyncExternalStore - The underrated React API

If you are not satisfied with any of the 124354332 different ways of managing state in React, here's a new one for you: useSyncExternalStore()! It is a new React 18 hook to subscribe to external data sources. It is often used internally by state management libraries - like Redux - to implement a selector system.

Lightning CSS

Rust disrupts the CSS world too! If you are finding yourself having to minify tons of CSS files in your build process, check Lightning CSS out. It's an extremely fast tool written in Rust, probably the fastest option to minify CSS today! I am planning to add it to the build process of my own website... not because there's a lot of CSS, but just because it can be a fun excuse to try it...

Introducing Signals

Have you tried SolidJS already? I did and I loved it! But this is not about SolidJS. Well, it kinda is since signals are a concept popularised by Solid, and now it's finding its way into other frameworks. Signals are a way of expressing state that ensures apps stay fast regardless of how complex they get. The Preact team has built a generic signals library that you can use with many frameworks!

An overview of Node.js: architecture, APIs, event loop, concurrency

The brilliant Dr. Axel Rauschmayer has been writing tons of awesome Node.js articles lately and this one is probably one of my favorites... This blog post gives an overview of how Node.js works: What its architecture looks like. How its APIs are structured. A few highlights of its global variables and built-in modules and a lot more!

Default Exports in JavaScript Modules Are Terrible

In JavaScript and Node.js, default exports can lead to mismatched and confusing names. Named exports should be used instead. This opinionated article goes into a lot more detail with many examples and... it has a point!

Book of the week

Elasticsearch: The Definitive Guide: A Distributed Real-Time Search and Analytics Engine

Elasticsearch: The Definitive Guide: A Distributed Real-Time Search and Analytics Engine

by Clinton Gormley

Whether you need full-text search or real-time analytics of structured data—or both—the Elasticsearch distributed search engine is an ideal way to put your data to work. This practical guide not only shows you how to search, analyze, and explore data with Elasticsearch, but also helps you deal with the complexities of human language, geolocation, and relationships. If you’re a newcomer to both search and distributed systems, you’ll quickly learn how to integrate Elasticsearch into your application.