1. ReactJS ⚛
Pros of React (Good Side)
- 🤝🏽 Easy to Learn (not that easy.)
- minimal at first
- 😎 very popular in the Job Market
- 🌍 Huge Community.
- 📱 With React-Native you can easily build mobile apps.
Cons of React (Bad Side)
- you will definitely get a lot of infinite loops
- understanding React's Reactivity is hard but very important.
- So many libraries to the same problem
- for animation, there are tons of libraries to choose.
- This is both a good and a bad thing.
- The good side is that it offers flexibility to choose whatever you want
- The bad side is that there is no standard for which library to choose.
- The useEffect hook
- in React, hooks are just special functions.
- This hook is the most dangerous hook in react, it causes infinite loops and it is not easy to understand. There is a lot more to this hook that you do not know but that's an article for another day.
Angular was invented in 2016 by Google, Angular is like the direct opposite of React. React is supported by the community but angular you do not need external packages for things like routing, animation, etc, it has those stuff by default.Companies using angular are Google, Upwork, Paypal, Forbes, etc.
Pros of Angular
- works well with Google services like Firebase.
- Huge community (not like React though)
- popular in the Job Market
- Scaleability, Angular can build really big applications
Cons of Angular
- Hard to learn (very hard)
- Typescript Required
- Not So many libraries to the same problem hence not flexible
Pros of Vue
- Easy to Learn (very easy)
- Good Documentation
cons of Vue
- Smaller Community than Angular and React
- Limited Resources
- Less Jobs Than React and Angular
This one of my personal favorites, svelte was created in 2016 by Rich harris and with the release of version 3, it became the most loved framework according to the stack overflow survey(what over 70,000 developers took). Svelte is kind of like React it relies on the community for stuff like routing,server-side-rendering, etc. Companies using svelte are avast, GoDaddy, Chess.com, etc.
pros of Svelte
- The easiest to Learn
- Amazing Documentation (one of the best on this list)
- Magic syntax
- Great Reactivity (the best on this list)
- Blazing Fast (The fastest on this list)
cons of svelte
- very small community (smaller than vue)
- Lack of tutorials
- a very small quantity of Jobs (smaller than vue)
- solid is an extremely fast React-like framework but it is still relatively new so it did not make the list.
These are the best frameworks in my opinion but which one is the best? honestly, there is no best. One of the strengths of React is its popularity and big community, the strength of Angular is its reliability, the major strength of vue is simplicity and the major strength of svelte is its speed. As much as I like svelte, I would personally recommend React or vue because I don't really think svelte would scale that much (for very big apps). I did not recommend for beginners Angular because it is not easy to learn but that does mean it is not powerful. Thanks for reading, if enjoyed it, please leave a reaction and comment on your best framework. See you next time ✌🏽✌🏽.