"Never trust a computer you can’t throw out a window"
|
—Â
Steve Wozniak,
American inventor & Apple co-founder
|
|
|
|
|
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.
|
|
|
|
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!
|
|
|
|
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.
|
|
|
|
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...
Â
|
|
|
|
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!
|
|
|
|
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!
|
|
|
|
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!
|
|
|
Â
|