MiniReact
Reimplementation of React.js subset for educational purposes.
Files:
index.html
- HTML page for the Poll appapp.jsx
- the Poll app JSX source codeapp.js
- pure-JavaScript version generated fromapp.jsx
by Babel.jsminireact.js
- MiniReact implementation (in ES6 JavaScript, compatible with most modern browsers)
Screenshot
Links
Discussion:
- Junior.guru Discord: https://discord.com/channels/769966886598737931/811910782664704040/849292462488944690
Similar React-from-scratch approaches:
- https://andela.com/insights/building-your-own-version-of-react-from-scratch-part-1/
- https://pomb.us/build-your-own-react/
- https://zserge.com/posts/worst-react-ever/
Actual React source code:
- https://unpkg.com/react@17.0.2/umd/react.development.js
- https://unpkg.com/react-dom@17.0.2/umd/react-dom.development.js
- https://github.com/facebook/react
React now transitions to an internal async render architecture named Fiber: