In May 2021, Stack Overflow conducted the 2021 Developer Survey to learn what tools developers are using, how they’re learning them, and what they think about them. Over 80,000 developers took part in the survey, 69.7% of whom are developers by trade.
1. React JS
For new developers, React is easier to learn and use compared to other frameworks like Angular. It has extensive documentation, guides, and a growing community that shortens the learning curve. React is constantly evolving, which can be a disadvantage as developers have to keep relearning new features. Examples of large websites built with React include Airbnb, Dropbox, Asana, and BBC.
jQuery is easy to learn and has been around since 2006 and therefore has a large developer community. However, jQuery cannot compete with modern web frameworks with advanced features. It’s useful for simple applications, but can result in a large code base when used to build large applications.
Angular offers features such as bi-directional data binding, which allows real-time synchronization between model and view, has built-in dependency injection, and supports TypeScript. However, it has a steeper learning curve compared to React. Examples of websites built with Angular are Freelancer, IBM, and PayPal.
Express provides an easy way to manage routing, set up middleware packages, and integrate plugins into your server-side code. With Express, you can build RESTful APIs to integrate with other apps and dynamically serve static HTML files to the web. Examples of companies using Express in the codebase are Twitter, Intuit, and Accenture.
It’s worth noting that Svelte took the top spot as the most popular web framework, according to 71.47% of respondents, beating React with 69.28%.
Examples of companies using Svelte for their websites are The New York Times, Nesta and Rakuten.
AngularJS was the most feared web framework
While Svelte was the most popular framework, AngularJS was the least popular. It was feared by 76.82% of those surveyed. Perhaps that’s because Google ended long-term support for AngularJS as of December 2021 after providing it for over three years. If you use AngularJS in your application, you need to migrate to Angular or other frameworks because over time your application may crash due to lack of updates.
The popularity of a framework might indicate a large development ecosystem that can facilitate learning. However, this shouldn’t be the only factor you should consider when choosing a framework. Always consider where you plan to use this framework. The design and features of your application should come first before choosing a development tool. Next, explore the framework to learn more about its capabilities and complexities.
About the author