These series of articles are based on the Paul O Shannessy - Building React From Scratch talk that he gave in 2016.
He also uploaded source code to the GitHub repo.
Unfortunately, the talk was only 30 minutes long and to fully understand each part of this simplified implementation of React.js I spent days reading the source code and the comments. Even though the comments and the talk were super helpful, some parts of the code were like rocket science to me, especially recursive labyrinths of madness, until I was enlightened.
And now I decided to create a series of articles based on my notes and 'aha' moments.
You can find these articles in my personal blog:
- Build your own React.js - Part 1. ReactDOM.render;
- Build your own React.js - Part 2. React.Component;
I also posted them on dev.to
npm install
npm run start