8000 GitHub - vasylenkoval/mini-react: Re-implementation of a subset of the React.js API for learning purposes.
[go: up one dir, main page]

Skip to content

vasylenkoval/mini-react

Repository files navigation

⚛️ Mini React

A work-in-progress, toy re-implementation of a subset of React's public API for learning purposes. Originally based on Rodrigo Pombo's Build your own React. It does not aim to be used in production, but rather to explore how virtual dom libraries work under the hood.

Example apps

Implemented

  • JSX factory
  • Virtual DOM representation similar to React where nodes are processed in units of work (but here workloop is sync for now).
  • Splits work in two phases: render and commit.
  • Functional components
  • Keyed reconciliation
  • Memoization primitives
  • Hooks: useState, useEffect, useRef, useMemo, useReducer

About

Re-implementation of a subset of the React.js API for learning purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0