My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Which JavaScript framework is best for a single page application in 2019?

Goku's photo
Goku
·Dec 4, 2018

VueJS

27%

React

53%

Angular’s

10%

Other

10%

70 votes · Closed

I feel like every third question is this… What’s the best framework to use? Which framework should I learn? What should I learn in 2019? What must I know to be a web developer?

First of all, you need to know how to search the Internet, which most of askers obviously have no idea how to do. Knowing where to look for answers is the first skill you need as any kind of developer, front-end, back-end, mobile, sysadmin, whatever.

Learn any, and learn it properly. Then expand and peek at others. See how they differ, and understand why they differ. There’s no best framework, there’s a good choice for a particular application.

Vue might be a good entry point if you’ve never dealt with MVC pattern before, or you’re coming from using ad hoc solutions such as manual manipulation of DOM using the DOM API through JS (jQuery used to be helpful here few years ago, not so much now).

React is a nice choice because of its simplicity and it being a view library, not a framework. React itself won’t help you all that much. It means you have a lot of freedom, but that’s also its weakness. When you try learning React, you’re faced with a huge problem: what the heck do you learn first?

Angular’s main strength is that it simply enforce good practice. If you try to do something the wrong way, it will punish you. Angular is your greatest friend helping you and the most strict teacher you’ll ever have. It’s trivial to build applications that scale, and maybe choices have already been done for you. It’s still configurable, but it’s a bit more difficult to do so than using React.