DEV Community

Cover image for What Are Your Favorite JavaScript Libraries & Frameworks?

What Are Your Favorite JavaScript Libraries & Frameworks?

dev.to staff on July 10, 2023

Hey JavaScript developers! We all have our go-to libraries and frameworks. Which ones do you love using the most and why? Share your favorites, dis...
Collapse
 
raguay profile image
Richard Guay

I love using Svelte!

Collapse
 
schemetastic profile image
Schemetastic (Rodrigo)

I cam here cause i wanted to write Svelte, hahahaha

Collapse
 
valeriavg profile image
Valeria

Deno & Fresh, hands down :-)
Comes with Preact & esBuild so I'd add those to the list too.

Collapse
 
wordpressure profile image
TricaExMachina

Hi, just had a look at Fresh and it looks sick. Are you able to deploy a project to a standard linux/apache server or does it need something fancier like netlify to handle deno for APIS?

Collapse
 
valeriavg profile image
Valeria

Glad you liked it! I use Deno deploy, but you should be able to deploy it as any other app, as long as you can install Deno runtime in your server.
Here is a link from the documentation: deno.land/manual@v1.35.1/advanced/..., hope it helps!

Thread Thread
 
wordpressure profile image
TricaExMachina

Cheers, for this. Will check it out :)

Collapse
 
webjose profile image
JosƩ Pablo Ramƭrez Vargas

Deno? Why? It is currently a mere toy nowhere near production grade. Did you know Deno ranked in the 400's in last year's performance tests? NodeJS ranked 212th. Isn't Deno supposed to beat NodeJS? It's not doing it and by a long shot.

Collapse
 
valeriavg profile image
Valeria

Because I like to work with it. I enjoy clean APIs and itā€™s just perfect for edge computing! Iā€™m not sure what makes you believe itā€™s not ready for production, Iā€™m sure you have your reasons. I moved my personal projects from Cloudflare workers to Deno deploy some time ago and so far had nothing but pleasant experience, including a significant performance boost or latency drop if you prefer it that way.
Iā€™m not advocating for switching, but do take a look at Fresh and island architecture, itā€™s a masterpiece despite of its simplicity.

Thread Thread
 
webjose profile image
JosƩ Pablo Ramƭrez Vargas

I find that performance boost hard to believe after seeing it ranking so poorly last year. Anyway, to each its own, I guess. Cheers.

Collapse
 
opentechconsult profile image
OpenTech-Consult

Didn't know that. And why is node.js ranked at 212th place. Which one is ranked number one. Can you send a link or reference?

Thread Thread
 
webjose profile image
JosƩ Pablo Ramƭrez Vargas

Hello. I don't have the link handy. It was the performance tests Microsoft used during their .Net7 presentation last year. A third-party company did the benchmarking. I don't remember #1. I remember .Net at 9th place, NodeJS at 212th place, and Deno being all the way down the 400's.

Thread Thread
 
thenickest profile image
TheNickest

It would be helpful and beneficial to back such comments with a link in the future. Like this your comments lose value, where they actually could provide some. For someone who hasnā€™t seen the ranking themselves it could just be random numbers.

Thread Thread
 
webjose profile image
JosƩ Pablo Ramƭrez Vargas

Thanks. The value of the comment is actually irrelevant to me in this particular instance. I decided to share what I read at some point in time. I have disclosed the origin, and I bet anyone determined to find it, will find it with my description. I just don't feel the urge to prove myself to anyone here or to serve as a personal assistant and look information up for strangers on their command.
Generally speaking, I will back my comments whenever I feel the need to do it.
Still, your advice is well received. I actually concur.

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him)

Performance test of what? Sources are very important for such claims.

Thread Thread
 
webjose profile image
JosĆ© Pablo RamĆ­rez Vargas • Edited

I don't understand why people are so defensive of Node and Deno. I guess it's all in the hype.

Here: techempower.com/benchmarks/#sectio...

Thread Thread
 
syeo66 profile image
Red Ochsenbein (he/him)

It has nothing to do with being defensive. But with all performance tests, the context (what has been tested exactly, and how) does matter.

Collapse
 
webjose profile image
JosƩ Pablo Ramƭrez Vargas

Svelte. By far the simplest UI framework in existence, yet it seems to be able to do anything and everything.

For configuration, I'll use my baby wj-config over any other configuration package.

Collapse
 
donnierich profile image
Donato Riccio

I really like VueJS for front-end development. It's easy to learn but requires great skills to master.
I think it's one of the best frameworks for junior web devs moving their first steps in the front-end frameworks world.

As for my go-to library I would say p5.js for all the functionalities related to drawings, physics, motions, etc... it's a great resource overall!

Collapse
 
kaamkiya profile image
Kaamkiya

I also use p5.js! I'm glad I'm not the only one :)

Collapse
 
gjwes profile image
Gary

Vue is always my go-to

Collapse
 
manchicken profile image
Mike Stemle
  • lodash
  • jest
  • Sequelize
  • ajv
  • I really like built-ins, and I do my best to use them when possible
Collapse
 
techthatconnect profile image
TechThatConnect

Svelte and sveltekit are my faves right now. I love the ssr with csr hydration process of sveltekit and the fact its compiled.

Collapse
 
jeesusbock profile image
Jeesus Bock

I like date-fns javascript/typescript library for all my date and time needs. This is something that shouldn't be done from scratch, so even if it isn't date-fns, please do use an established framework for it.

Collapse
 
gulshan profile image
Gulshan

Nuxt with Typescript for me, I guess.

Collapse
 
juanfrank77 profile image
Juan F Gonzalez

Svelte and SvelteKit all day.

Collapse
 
mzota profile image
Emmanuel Mzota

ReactJS always

Collapse
 
juanfrank77 profile image
Juan F Gonzalez

To each their own but React even with all its changes doesn't hold a candle to Svelte

Thread Thread
 
wojciechxtx profile image
Wojciechxtx

Tried both: React and Svelte; Svelte is way better than React IMO; Better but coding exp-wise its NOT nicer.

Collapse
 
robinvanderknaap profile image
Robin van der Knaap

I really like NestJS, for apps with a heavy backend.

Collapse
 
vulcanwm profile image
Medea

next.js and react is the perfect combo

Collapse
 
peter_pagani_d8dfee8731a7 profile image
Peter Pagani

Even though itā€™s very very young still Iā€™m having a lot of fun with solid and solid start. It may be my new favorite.

Collapse
 
jeesusbock profile image
Jeesus Bock

I think it's about the time to test it out again. It's been a while since I first yested it around and excited to see new developments.

Collapse
 
onix-systems profile image
Onix-Systems

JavaScript has evolved from a simple scripting language to a robust ecosystem with a plethora of libraries and frameworks that streamline the development process and enhance the functionality of web applications. Whether you're building a simple website or a complex single-page application (SPA), choosing the right JavaScript tools can significantly impact your productivity and code quality. In this article, we'll explore some of the most popular JavaScript libraries and frameworks developers love and rely on to bring their projects to life.

React.js
React.js, developed by Facebook, is a declarative, component-based JavaScript library for building user interfaces. React's virtual DOM and efficient rendering make it blazingly fast, while its component-based architecture promotes code reusability and maintainability. With a vibrant ecosystem of tools and libraries, including React Router for routing and Redux for state management, React.js has become the go-to choice for building dynamic and interactive web applications.

Vue.js
Vue.js is a progressive JavaScript framework for building user interfaces, designed to be incrementally adoptable and easily integrated into existing projects. Vue's simplicity, flexibility, and intuitive API make it a favorite among developers of all skill levels. With features like single-file components, reactive data binding, and built-in state management via Vuex, Vue.js empowers developers to build sophisticated SPAs with minimal effort.

Angular
Angular, developed and maintained by Google, is a comprehensive JavaScript framework for building client-side web applications. Angular's opinionated approach to development, powerful CLI, and a robust ecosystem of modules and libraries make it well-suited for building large-scale applications. With features like two-way data binding, dependency injection, and built-in testing support, Angular provides developers with everything they need to develop scalable and maintainable applications.

Express.js
Express.js is a minimalist web framework for Node.js, designed for building fast and scalable web applications and APIs. Express's unopinionated nature and lightweight architecture make it highly flexible and adaptable to various use cases. With features like middleware support, routing, and template engines, Express.js simplifies the process of building server-side applications in JavaScript, making it a favorite among Node.js developers.

jQuery
jQuery is a fast, small, and feature-rich JavaScript library that simplifies HTML document traversing, event handling, animating, and Ajax interactions. While its popularity has waned in recent years with the rise of modern JavaScript frameworks, jQuery remains a staple in many web development projects due to its simplicity, compatibility, and extensive plugin ecosystem. With jQuery, developers can quickly add interactivity and dynamic behavior to their websites with minimal code.

Conclusion

The JavaScript landscape is vast and ever-evolving, with new libraries and frameworks emerging regularly to address the evolving needs of web developers. Whether you're building a small website, a complex web application, or a mobile app, there's a JavaScript library or framework ideally suited to your needs. By leveraging the power of these tools, developers can streamline their workflow, improve code quality, and deliver exceptional digital experiences to users worldwide. Whether you prefer the simplicity of Vue.js, the robustness of Angular, or the flexibility of Express.js, there's no shortage of options to explore and experiment with in the exciting world of JavaScript development.

Collapse
 
pengeszikra profile image
Peter Vivo • Edited

React / Nextjs because they are quite profitable for me. Plus I wrote most of my hobby staffs in Nextjs/TS or maybe ( pureJS, React, bash, htmx, python and rust ).

Collapse
 
jrolingdev profile image
jrolingdev

Stimulus by the 37 Signals guys. Use it with signals (coming soon in tc39 proposal signals) and you have just about the most composable, natural way of writing ui logic that is still decoupled from the html (it can be reused with different markup).

Collapse
 
devopsguy profile image
Octavian Helm

Vanilla.js

Collapse
 
go4webdev profile image
Go4WebDev

Me too...

Collapse
 
datarecove95829 profile image
Camila John

java is love

Collapse
 
imthedeveloper profile image
ImTheDeveloper

I've been enjoying Astro really clever stuff.

Collapse
 
felixselter profile image
FelixSelter

I like astro but I struggle with scripting and .astro components. I need to query all my components because the script is only included one but the css scoping does not work with the js. Using Astro with other component frameworks works great. Using it if not much js code is needed works great as well. But even writing simple scripts for form validation seems to be so much more pain compared to react or others. Also you need to serialize the props in html and deserialize them in js to access them. I think theres still a lot what needs to be improved.

Collapse
 
pengeszikra profile image
Peter Vivo • Edited

qwik , react , tailwind, jsdoc, rust

Collapse
 
asmyshlyaev177 profile image
Alex
  1. Certainly React.js! But some other things like SolidJs and Svelte worth trying for personal projects.

  2. Day-js for dates.

  3. Vite, and react-testing-library worth mentioning.

Collapse
 
wiredmatt profile image
wiredmatt

NextJS, HonoJS, Drizzle, and NeonDB on Edge Functions or Cloudflare Workers. It just works, very well, and very cheap.

Collapse
 
martygo profile image
Martins Gouveia

For web? Next.js is king šŸ¤“. My opinion.

Collapse
 
toolkituse profile image
toolkituse

hello

toolkit-use

Collapse
 
opentechconsult profile image
OpenTech-Consult

Backend express.js for sure šŸ˜Š

Collapse
 
jeesusbock profile image
Jeesus Bock

I've been testing out Hono lately. Pretty slick. I run it on Bun too.

Anybody else got a js backend library to recommend?

Collapse
 
dakdad profile image
Asanka

HTMX anyone? šŸ˜

Collapse
 
easewithtuts profile image
V Sai Harsha

Svelte and React

Collapse
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop

Framework = react
Go to library = lodash

Collapse
 
ricardogesteves profile image
Ricardo Esteves

React and Next.js!

Collapse
 
nabous profile image
Mohamed Nabous

Tailwind & alpinejs for a quick a dirty patches on a legacy project

Collapse
 
__darey profile image
Dare Olukoya

JQuery

Collapse
 
akhtargul profile image
AkhtarGul

Angular 16

Collapse
 
aijazdeveloper profile image
Aijaz Ahmad

React

Collapse
 
mendozalz profile image
Lenin Mendoza

Me esta gustando ASTRO mas que el puto ANGULAR que todavia me cuesta entenderlo.

Collapse
 
hariompandit profile image
HARIOM PANDIT

i like to work in next js and their UI.

Collapse
 
testybryan profile image
Testy Bryan

React

Collapse
 
disane profile image
Marco

Hands down for Angular ā¤ļøšŸ”„