Skip to content

stonexer/yarf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another React Fiber

简化版的 React 和 Fiber。基本相当于照着 React 仓库抄了一遍。没有拆分 React 和 ReactDOM。且省略了以下功能:

  • 时间相关的调度
  • Ref
  • Context
  • Fragment
  • Portal
  • 友好的开发时检查和提示
  • Hot reloading
  • ...

并且,render 阶段的逻辑,只保留了 同步 的。理解了同步的,才有可能搞懂异步。

What & Why

尽可能还原 React 目前(2019.9)的核心功能,并保持同步。

学习

Referrence

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published