Skip to content

careteenL/react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c573de2 · May 17, 2024

History

63 Commits
Apr 19, 2020
May 2, 2020
Dec 12, 2020
Jun 19, 2020
Apr 19, 2020
Jun 18, 2020
Apr 5, 2020
Jun 8, 2020
Apr 5, 2020
Mar 10, 2019
Jun 18, 2020
May 17, 2024
May 5, 2020

Repository files navigation

license Build Status npm NPM downloads

学习并仿写react,目前已提供基础功能。

  • React16 Fiber

    • Fiber
    • hooks
      • useReducer
      • useState
  • React15

    • Class Component
      • LifeCycle
        • old
        • new
      • setState
      • syntheticEvent
    • Function Component
      • basic
    • createElement
    • Children
      • map
        • flat
        • key
    • ref
  • ReactDOM

    • render
    • unstable_batchedUpdates
  • Virtual DOM

    • DOM-DIFF
  • Redux

  • React-Redux

示例

快速使用

安装

npm i -S @careteen/react

使用方式和react一样

// TODO

FAQ

issue模板

贡献者指南

clone仓库并引入依赖

git clone git@github.com:careteenL/react.git
npm install

开始开发:)

...

启动本地服务器编写示例

npm run example

更新日志