jadertao / reactlike

📚yet another implement of React core conceptes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React-Like

Tet another implement of React core conceptes.

React 核心概念的最小 TypeScript 实现。

Introduction

This project is dedicated to learning how React works (in old architecture).

学习非 fiber 架构的 react 内部机理

Doc

[WIP]

Example

in Mac:

npm run example <n>

type = 1|2|3|4, as:

npm run example 1
npm run example 2

And

本该有一篇文章的, 但是决定再读读 React 源码再写。 源码中有详尽的解释。 本实现中确实有一些不足。任何疑惑欢迎发 issue 讨论。

About

📚yet another implement of React core conceptes.


Languages

Language:TypeScript 91.3%Language:JavaScript 4.2%Language:HTML 2.3%Language:Shell 2.2%