Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zacharyl2/mini-react

Implement Mini-React in 400 lines of code, a minimal model with asynchronous interruptible updates.
https://github.com/zacharyl2/mini-react

javascript mini-react programming react typescript

Last synced: 5 days ago
JSON representation

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

Awesome Lists containing this project

README

        

![Presentation](https://i.imgur.com/esCwk1l.png)

# Mini-React

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

# Demos

[Online Demo](https://stackblitz.com/~/github.com/ZacharyL2/mini-react)

A simple running screenshot:

![Demo](https://i.imgur.com/wQV5IaC.gif)

# Introduce

I used the [Tic-Tac-Toe](https://react.dev/learn/tutorial-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.**](https://webdeveloper.beehiiv.com/p/build-react-400-lines-code)

# License

[MIT](https://github.com/islizeqiang/mini-react/blob/master/LICENSE)