DEV Community

Discussion on: Is JQuery still worth learning in 2021?

Collapse
 
stojakovic99 profile image
Nikola Stojaković

The sole reason frameworks exist is to make your life easier by providing functionalities you need out of the box. It would be too much to always write everything from the scratch.

Also, choosing framework mostly comes from the personal preference. I typically choose React because I'm most familiar with it and I know it's ecosystem very well. I never came into the situation where I thought damn, I wish I didn't chose React but X or did this without any library and I worked on both, small and huge projects.

In very rare cases where you have multiple frameworks on the front-end or need to incorporate them you can implement microfrontends.

Collapse
 
taikedz profile image
Tai Kedzierski

Indeed. Frameworks, libraries, and many other applications and tools, are designed to make a task easier.

My point is, if the framework in question and its own ecosystem have a tendency to force you into doing things One Holy Way, at the exclusion of the rest of the ecosystem, it's definitely worth stepping back and thinking, "Why?"

Thread Thread
 
stojakovic99 profile image
Nikola Stojaković • Edited

Because of the reason I mentioned in the first point - writing everything from scratch would take too much time and it will lead to unnecessary repetition.

If someone already wrote a library for making HTTP requests, it's properly tested and it's stable, why would you write your own library? Just to be able to say that you're not forced to do things in a certain way?