3 ms·
I think this is what everyone feels when starting with React, but the pros are much bigger (and more of them) than the cons. the main difference between React
by tzaman 11y ago
I think this is what everyone feels when starting with React, but the pros are much bigger (and more of them) than the cons.
the main difference between React and everything else is that React brings HTML to Javascript (and not vice versa). The result is code, that's easy to understand, test, develop. Code and templates should be decoupled, but in UI development, template is just the visual representation of behaviour (code), which means it makes sense to couple them. Plus when you develop in React, most of the logic should be outside of components in any case (I use Redux so it's in reducers and middleware + some util files).