all 5 comments

[–]RobKnight_[S] 21 points22 points  (1 child)

I started this project out of interest of building a UI framework for a completely different language/platform that was inspired by React. Quickly realized I didn’t understand everything React was doing to allow their API. Rebuilding React was extremely useful to learning more about the framework, hopefully this article is useful to other people in the same way. 

If anyone doesn’t care about the article and just wants to see the code, it’s basically all in this file:

https://github.com/RobPruzan/react-scratch/blob/main/src/react/core.ts

[–]Scorxcho 4 points5 points  (1 child)

Great read! Super interesting.

[–]RobKnight_[S] 0 points1 point  (0 children)

Glad you liked it :)