DEV Community

Discussion on: React vs Plain JS

Collapse
 
karladampilag profile image
Karla Dampilag

It seems the whole summary of your bullet points is that, for your needs, plain JavaScript is enough. That's fine, tbh. Using React when you don't need it for an application is overkill. When you find yourself starting to struggle doing so many manual things in the front-end with JS, that's a good time to maybe consider introducing React, to make your life easier. But if you don't feel like you ever get to that point in your use cases, then plain JS is fine and there's really nothing wrong with that. React shines when developing complex front-end applications. When not working on such applications, one won't really appreciate React. At that point, React won't be worth the extra configurations and additional learning curve. It's at the complex front-end applications when benefit is way greater than the additional set-up work.

Collapse
 
rickdelpo1 profile image
Rick Delpo

Hey thanks Karla, for the time u put into responding. I was 20 years stuck in a corporate silo doing SQL and, no joke, just started exploring the front-end in 2019. Because I am a data person I guess I am not needing that much from my JS as u point out. I only really want a Fetch API and some JS array methods to render data in JSON. So now I feel much better after ur explanation. Thanks again, u made my day !!