Skip to content

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

License

Notifications You must be signed in to change notification settings

wytheglobal/mini-react

 
 

Repository files navigation

Presentation

Mini-React

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

Demos

A simple running screenshot:

Demo

Introduce

I used the tic-tac-toe tutorial example provided by React’s official website and can see that it works perfectly. In addition, it currently supports function components and class components, which may meet 80% of your needs!

This is what I created after reading a lot of React's source code, it's basically the same as React in overall logic and function naming, if you're interested in React's internals, it's for you!

License

MIT

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.2%
  • TypeScript 45.2%
  • CSS 2.2%
  • HTML 1.4%