Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
October 26, 2021 05:23 pm GMT

How to finally choose a Javascript framework in 2021

The JavaScript ecosystem has exploded in the past several years, and shows no sign of slowing down. This trend is especially apparent when looking at the state of front end JavaScript frameworks. Quite simply, there are too many to choose from.

If youre finding yourself in the position of having to choose a front end JavaScript framework in 2021, dont worry! Lets take a look at a few ways to make this decision with the health and success of your next project in mind.

Throw a dart

At first this might sound like a cruel joke, but if youre trying to choose between the top 3 - 5 available options (React, Vue, Svelte, Angular, etc), and youre not concerned about the differences in syntax, theres a high probability that youll be fine choosing from these popular options. Because theyre widely used and thoroughly tested, if you run into any trouble, youre only a quick Google search away from finding a resolution.

But what if you need to search from a larger pool of options, or if you're looking for something new entirely?

Use a dedicated service to review your options

A screenshot of the website, https://openbase.com

Thankfully, theres finally a service you can use to get authentic user ratings, insight, and experience, as well as a host of other key metrics related to open source packages. For front end JavaScript frameworks, this service is especially helpful. Openbase has managed to thoroughly categorize nearly any open source package you can find, ensuring that searching for something specific is a breeze.

Looking at alternatives to Angular for example, we can find a wide array of other options, and even sort them by highest rated, most used, or best maintained! Clicking into a specific option gives access to individual user reviews, as well as package specific metrics like bundle size and type definitions.

Using Openbase, it becomes very easy to sort through the seemingly infinite list of front end JavaScript frameworks in order to find the perfect option that meets all of your needs. Once youve found the perfect option for your project, you can even find tutorials to help you get started quickly or work through a technical challenge.

Copy from a similar application

Man in classroom setting looking at a womans desk next to him as if he's cheating on his work

If you want to all but ensure youre making the right framework choice, its never a bad idea to look at what other similar applications have done, and make the same technology choices. While it might sometimes be difficult to find a similar application (especially if your idea is new) its always helpful to look to see if any of the challenges you may encounter have been solved, and if so, identify the specific technologies used to solve those challenges.

A combination of viewing source code in the browser and looking through GitHub will help you decipher which frameworks are being used, but be careful! Without sourcemaps, it might be hard to figure out which framework the minified + compiled code belongs to!

So there you have it!

Three valid options for choosing a front end JavaScript framework in 2021, at a time when there are more frameworks than ever! If you really want to be thorough, it may make the most sense to employ a combination of all three options:

Look into what similar applications are using
Review Openbase to find user feedback, metrics, maintenance statistics, and alternatives
If you can't choose after youve narrowed down 3-5 options, throw a dart!

Have you recently had to choose a javascript framework? How did you make your decision? Which did you end up going with?


Original Link: https://dev.to/tevko/how-to-finally-choose-a-javascript-framework-in-2021-1p1m

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To