A re-implementation of react
Browse by type
This codebase attempts to implement React, including:
While adhering to the existing API and external behavior:
If you are interested in how this was developed, I made an article going through the internal architecture: https://www.rob.directory/blog/react-from-scratch
To run the project for development:
bun run react
bun run dev
This will compile all the TS code in src/, which then a bun server will serve a website at http://localhost:3000
The demo website is supposed to be an example of all the different features implemented. It includes
$ claude mcp add --transport http codehub https://codehub.bot/mcp
One hosted endpoint, no key: your agent can search, read and trace RobPruzan/react-scratch and every other graph here. Cursor, Windsurf and other clients →