Hacker News new | ask | show | jobs
by sjcrank 3798 days ago
In my opinion, there's nothing wrong with using raw JS/jQuery for projects - with discipline you can keep the code performant and well-structured. On the other hand, I have found real benefits from React as the project grows in size (current SPA is 50k lines of code).

Overall, my recommendation is to use the simplest approach that works, and start adding libraries/frameworks only when they add clear value.

1 comments

Thanks, yes to be clear we did use libs like Knockout, handlebars, requirejs; and more recently have been using Babel/Webpack with RactiveJS, Riot, et al. React is nice, but it's not clear that it's "better" imho.
It sounds like you might be in the right place to benefit from vue.js -- kind of a modern/simplified knockout. Super lightweight, very easy to learn, and just a view layer so it's not dictating your overall app architecture.