What Did We Have Before React/Vue/Angular?
Because there are so many browsers and each one has a slightly different implementation of technologies that power websites, and because the API required to interact with the page or DOM (Document Object Model) is somewhat cumbersome, jQuery was created. With jQuery, web developers could just include a script that allowed them to easily traverse the HTML, modify items, make asynchronous requests, update the page, and so much more! jQuery’s popularity exploded in the early days of the web.
The death of jQuery $
And then like most technologies, it died. Well not really, it’s still used to power 77.8% of the top 10 million websites . As you can see jQuery is far from dead, but if you search job postings, you’re not likely going to find any that are requiring that you know it. Why? Because newer technologies like React and Vue have taken over the scene.
The rise of React (and others)
Which is better?
One compliment I have about Vue is that because Vue components separate out template, logic, and style so they can look neater. React components incorporate the logic and presentation in the same component, though you can extract reusable logic into hooks and repeated code into smaller components to make React look neater too.
So, If React, Angular, and Vue are essentially the same, why is React my favorite? Because it’s the one I have most experience in and the one I feel most comfortable with 😎
Which should you choose?
From a job outlook perspective, I think it makes more sense to hone your React skills, it seems to be much more prevalent. But you can achieve the same results with either, so if it’s a personal project I would choose the one I’m most comfortable with or the one I like best.