ZacharyL2 / mini-react

Implement Mini-React in 400 lines of code, a minimal model with asynchronous interruptible updates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Presentation

Mini-React

Implement Mini-React in 400 lines of code, a minimal model with asynchronous interruptible updates.

Demos

Online Demo

A simple running screenshot:

Demo

Introduce

I used the Tic-Tac-Toe tutorial example provided on the React website, and it works well.

Additionally, it supports both functional and class components. Its overall logic and function naming are largely consistent with React's fundamentals. If you are interested in the inner workings of React, then this tutorial is suitable for you!

See how to build it.

License

MIT

About

Implement Mini-React in 400 lines of code, a minimal model with asynchronous interruptible updates.

License:MIT License


Languages

Language:TypeScript 60.9%Language:JavaScript 32.5%Language:CSS 4.9%Language:HTML 1.7%