An open API service indexing awesome lists of open source software.

https://github.com/okmttdhr/my-own-react

Rewrite React Fiber core algorithm in 300 lines with links to the React source code
https://github.com/okmttdhr/my-own-react

algorithms javascript react react-fiber

Last synced: about 1 year ago
JSON representation

Rewrite React Fiber core algorithm in 300 lines with links to the React source code

Awesome Lists containing this project

README

          

# my-own-react

Rewrite React Fiber core algorithm in 300 lines with links to the React source code.

- The data structure and algorithm of Fiber
- An interruptible unit of work (_conceptually_ same as concurrent mode)
- Render and commit phase

Architecture;

![architecture diagram](architecture.png)

Resources;

- https://reactjs.org/docs/codebase-overview.html#fiber-reconciler
- https://github.com/facebook/react/issues/7942
- https://github.com/pomber/didact