writing
Articles
Ripple Runtime: Mount & Block Tree
Part 3 of the Ripple internals deep dive series.
Ripple Runtime: Quick Reference
Part 5 of the Ripple internals deep dive series.
Ripple Runtime: Compilation Pipeline
Part 2 of the Ripple internals deep dive series.
Ripple Runtime: Updates & Performance
Part 4 of the Ripple internals deep dive series.
Deep Dive: Understanding Ripple's Runtime and Reactivity System (For Nerds)
A comprehensive exploration of Ripple's compile-time reactive framework, tracing how reactive code flows from source to execution, how dependencies are tracked, and how updates propagate through the block tree.
useNetworkStatus: react to online/offline
A custom hook that listens to window online/offline events and returns a boolean.
useMouseCoords: track cursor position
A custom hook that subscribes to mousemove and returns the latest clientX and clientY.
useLocalStorage: persist React state in localStorage
A small custom hook that reads and writes JSON to localStorage, with lazy initialization on first render.
Custom React hooks: a three-part series
Three small hooks I wrote in 2023: localStorage persistence, mouse coordinates, and online/offline status. Code-first, no fluff.
Setting up Metacall development environment on Windows
MetaCall is open-sourced under Apache 2.0 license. Let's switch gears and setup our windows system to build and develop metacall locally.
Polyglot Programming with Metacall
Calling Python from Node without spawning a subprocess. Metacall loads foreign functions through a shared C ABI.
Arrays In JavaScript
Consider a case when you want to store lots of data e.g. all your favorite pizzas or tacos. How will you store all the names in your program? Will you create 10 different variables for ten different pizzas?.
Ternary operator in Javascript
Learn how to use ternary operator (?) in javascript
Unboxing Javascript
Exploring the real model of an variable in javascript