hidaviddong / Mini-React

Implement a mini react to understand how it works

Home Page:https://react.daviddong.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How React Works

  • createRoot,render
  • tsx
  • scheduler
  • fiber
  • commit
  • function component
  • props
  • event binding
  • update props
  • update child in different tag
  • update nested child in tag
  • dont render boolean node
  • decrease render time
  • useState basic hook
  • useState batch update
  • useEffect basic hook
  • useEffect callback and return callback
  • safari support

About

Implement a mini react to understand how it works

https://react.daviddong.me/


Languages

Language:TypeScript 91.2%Language:JavaScript 6.3%Language:HTML 2.5%