/Mini-React

Implement a mini react to understand how it works

Primary LanguageTypeScript

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