DEV Community

Cover image for What Are Your Favorite JavaScript Libraries & Frameworks?
dev.to staff for The DEV Team

Posted on

What Are Your Favorite JavaScript Libraries & Frameworks?

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, discuss their benefits, and discover new tools that might elevate your development experience.

Follow the DEVteam for more discussions and online camaraderie!

Top comments (51)

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
 
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
 
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

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
 
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
 
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
 
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
 
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
 
datarecove95829 profile image
Camila John

java is love

Some comments may only be visible to logged-in visitors. Sign in to view all comments.