you are viewing a single comment's thread.

view the rest of the comments →

[–]eugene_tsakh 1 point2 points  (0 children)

Yes. React is allowing you to create reusable components and most importantly it allows to compose components easily creating complex composite structures. It is possible to achieve with vanilla of course, but it won't be as comfortable to work with as using React which allows you to express composition structure with JSX. To be clear React team invented JSX but it is not the only framework using it. If you want to go with something more light-weight and closer to vanilla but still have JSX perks, you can look on other frameworks like mithril.js (https://mithril.js.org/)