React — runtime and package map
Where the React runtime lives, how packages split, and how updates flow through the reconciler.
Questions
Plain-language prompts grounded in this codebase. Open any question for a full answer page.
- ClozeL1
React's source packages live primarily under the packages directory.
- ClozeL1
The reconciler that walks the fiber tree lives in packages/react-reconciler.
- ClozeL1
Hook dispatch for function components is managed inside the reconciler; the public API is exported from react.
- ClozeL1
Concurrent features rely on interruptible rendering driven by the Fiber architecture.
- ClozeL1
React's repo build/release tooling and scripts are typically driven from the root and scripts directory.
- ClozeL1
To understand a feature, start at the public export in packages/react, then follow into react-reconciler.
- ClozeL1
Host config for the browser DOM is implemented in the react-dom package.