3 ms·
But most of those are easily understood the second you say "Babel is going to take the JSX, convert it to javascript, and expects React to be there." Is that cr
by coffeefirst 6y ago
But most of those are easily understood the second you say "Babel is going to take the JSX, convert it to javascript, and expects React to be there." Is that crazy? Sure, but it's also pretty easy to update your mental model for.
The most telling thing about hooks to me is that I need a library just to use intersection observer, because the way you have to implement it to replication the same 5 lines of code from vanilla js is so much more complicated.
- dwhitney 6y agoPure functions with clearly defined type signatures are always preferable, in my opinion, because there is far less thinking involved. Elm's vdom is done in this way, as is the vdom used in PureScript Halogen. React is great, and groundbreaking, but with 20/20 hindsight, there are better ways.