4 ms·
And actually further to your point, I would assume that many more people who code in Javascript have read the React codebase and not the v8 codebase. I've read
by jemmyw 8mo ago
And actually further to your point, I would assume that many more people who code in Javascript have read the React codebase and not the v8 codebase.
I've read the react source, and some of v8. Imagine how you'd implement hooks, you're probably not too far away. It's messier than you'd hope, but that's kind of the point of an abstraction anyway. It's really not magic, I really dislike that term when all you're doing is building on something that is pretty easy to read and understand. v8 on the other hand is much harder, although I will say I found the code better organised and explained than React.