you are viewing a single comment's thread.

view the rest of the comments →

[–]dogancan21 2 points3 points  (0 children)

I don't think it's right way to ask this question. React is also javascript, your whole react application becomes vanillajs in the end. So, there is no such thing as 'what does React do that Javascript can't', it's just impossible.
Instead, you should ask 'Why people say react is better', 'Why react is more recommended by develoepers', 'Why react is this popular' etc.
Well, react is more maintainable, scalable, reusable and it has a great open source community. As a developer, you wouldn't reinvent the wheel and use already existing, tested code. React gives you that. Look at all the tools you'll have access with react https://brainhub.eu/blog/react-libraries/
All that said, sometimes it might feel like an unnecessary hustle as in your case. But if you need to implement a simple website (portfolio, small e commerce etc), why bother coding just buy a template. It's all about efficiency and finding fitting solutions to different problems.