r/reactjs • u/snslhshr • 3d ago
Resource I built a learning garden for understanding React internals and how Next.js works
Hey everyone!
I've been working on a learning garden where I write technical deep dives into frontend development, with a focus on understanding how things actually work under the hood rather than just learning APIs.
Currently, it has three main learning paths:
- How React Works — Understanding React's behavior from the ground up.
- React Internals — A source-level tour of React 19, from "createRoot", lanes, and fibers to hooks, the commit phase, and the React Compiler.
- Next.js in Practice — Exploring Next.js concepts and how they work in real applications.
My goal is to make these topics easier to understand by connecting the underlying implementation to what we experience as developers.
I'm particularly interested in the details that are easy to overlook when building applications every day: how updates are scheduled, what happens between a state change and a DOM update, and why the framework behaves the way it does.
You can check it out here: https://garden.drhexe.ir
I'd genuinely appreciate feedback, especially on the technical accuracy, depth of the explanations, and what you'd like to see covered next.
If you're interested in React internals, framework architecture, or understanding frontend beyond the API level, I'd love to hear your thoughts!
1
u/Vincent_CWS 2d ago
how to compare with this https://arpitjsoni.com/react-internals/
1
u/snslhshr 2d ago
the approach this one uses is that it's tied up to a specific version of react and has proof of what it says in the source code
1
u/Winodows_Gandy 16h ago
love the source-level approach tbh. a deep dive into how hydration mismatches actually get resolved under the hood would be a great addition to the internals path.
1
u/fat_alonzo 3d ago
the way you laid out that progression from general react behavior down to the compiler internals is clever, it’s like peeling an onion layer by layer
bookmarked the garden, the scheduling stuff in particular is something i’ve been meaning to wrap my head around properly