Skip to main content

Publication

Articles

First-party technical writing on React internals, JavaScript systems, and memory models — published for engineers and technical decision makers.

  • Dense array slots transitioning through holes and mixed elements into keyed storage
    12 min

    JavaScript Array Internals: Memory Layout Without the Myths

    JavaScript arrays are objects with specialized element storage: engines may pack dense indexed elements contiguously, but holes, mixed types, and properties force more general representations.

    • javascript
    • performance
    • memory
    • v8
  • Layered scheduling lanes feeding two fiber trees through an orange render and commit boundary
    16 minReact Fiber Internals · Part 2

    React Fiber: Buffers, Hooks, Lanes, and Commit

    Work-in-progress buffers hold the next tree, hooks store state on fibers, lanes prioritize updates, and commit applies the finished tree in a short, ordered phase.

    • react
    • fiber
    • hooks
    • concurrent
    • frontend
  • Abstract fiber tree with an orange route tracing the depth-first traversal between nodes
    14 minReact Fiber Internals · Part 1

    React Fiber: How the Tree Walk and Work Loop Actually Run

    Fiber walks units of work depth-first, can pause between units, and only finishes a tree when the work loop completes without higher-priority interruption.

    • react
    • fiber
    • performance
    • frontend
  • File changes traveling as an orange signal through detection, queueing, and listener delivery mechanisms
    13 min

    JavaScript Event Systems and File Watchers

    File watchers are event producers on top of the host event loop: changes are detected, queued, and delivered asynchronously—never by busy-waiting in JavaScript.

    • javascript
    • nodejs
    • event-loop
    • tooling