You could walk through the framework so you then understand it. There are several "let's create react from scratch" articles
https://pomb.us/build-your-own-react/
Certain frameworks were so useful they arguably caused an explosion the productivity. Rails seems like one. React might be too.
Thanks to that page letting me see how many dozens of lines of code React needs to do the equivalent of
I now have even less interest in ever touching a React codebase, and will henceforth consider the usage of React a code smell at best.