tiankai0426 / mini-react

mini react带你精通react

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mini React

Mini React是我为了React课程而写的项目,现在属于《精通React》大专栏的一部分。本项目具有以下特点:

  • 手写核心API:实现了ReactDOM.createRoot、Hooks、Component等核心API。

  • 手写核心原理:实现了Fiber构建、组件的初次渲染与更新、VDOM DIFF、任务调度等核心概念。

  • 读源码:搭配Debug React,一边调试无压缩版源码,一边实现。保证你一定能精通~

  • 迭代性:作为一个可爱的项目,这个项目会经常迭代,并且搭配直播+录播~

Getting Started with Mini React

This project was bootstrapped with vite.

Available Scripts

In the project directory, you can run:

yarn dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Learn More

To learn React, check out the React documentation.

About

mini react带你精通react


Languages

Language:TypeScript 99.4%Language:Shell 0.4%Language:JavaScript 0.3%