Humble Beginnings
I recently checked Stack Overflow's Developer Survey 2021 and instantly saw that
Why is this the case though? How did React become so wide-spread?
Clarification
In this case,
Most Popular != Most Loved
If we take a look back at the popular web framework in the Stack Overflow Developer Survey, we see this bar graph (I think that's what it's called):
Now, if we look at the most loved frameworks,
In the first graph, it is evident that Svelte is evidently not that widespread/common compared to other frameworks. However, it seems that Svelte is immensely loved by developers compared to React.
Hence, this is why I'm saying that the Most Popular framework is not the Most Loved. There are hidden gems that don't have the publicity to become widespread, and I believe Svelte is one of these.
React Study
One thing that I see React has, and one of the most important factors for increasing popularity is the size of the community for a technology. With React, if you search up for a fullstack tutorial on YouTube, I can bet that most of the results will definitely include React in them. This is because React has a bunch of developers using it, and so does JQuery.
Now, when someone comes to learn how to create a fullstack application, they will be guided in the direction of React, not the other libraries. I'm going to call this "Filter-Pass-Down" I'm not aware if this is an actual term or not but I made it so it doesn't matter anymore unless one of you comment about it. Then I'll change it. But for now, "Filter-Pass-Down" it is. It only takes a group of developers to be enchanted by the spells of a library before spreading it to others.
There is also another inconspicuous reason to why React is so widespread: its ecosystem. There are countless packages designed for React that just make developers' lives that much easier. Things like Framer Motion and React Reveal are mere examples of the vast and massive amounts of packages that help you get work done.
Svelte
One thing that Svelte lacks compared to React is the enormous community surrounding it. Don't get me wrong, it's somewhat there; the problem is that it's small. However, not many professional-grade applications are using it. There are also not that many supporting packages for it like React does. The lack of tutorials to get someone started with development don't use Svelte, so it makes it difficult for large scale adoption to occur. However, I've seen a lot of developers use Svelte and use it afterward, giving me a sense that it will grow in popularity.
Cherry On The Cake
While the community is one of the most important things to make a framework/library succeed, the innovative features it brings are equally important and tie the entire project together in a neat little package.
React used the concept of a Virtual DOM opposed to changing the actual DOM of a webpage, speeding up the entire process of updating the page (it also used declarative state management so you simply had to tell what you wanted to change and it would change the element for you). React also implemented JSX, opposed to the HTML templates stuff the Angular used. All of these features were well liked by the developers who used React, thus promoting the product.
This rise in popularity can also occur for Svelte, I believe. It gives a great user experience and is loved by many developers around the world. Svelte only needs a larger community/ecosystem for it to become a popular tool, and that very well might happen in the future.
Anyways those were my thoughts.
Recap of what you need:
- Massive community/ecosystem
- Innovative Features
People simply need that first taste of your library before suggesting it to others, and it only expands from there.
Sorry for the late blog this month I had final exams :(
If you liked this blog though, please leave a comment and click the buttons on the left side of the screen đź‘Ť.
Anyways, I'll try to post faster next month. Happy New Year!
Also, Follow me on Twitter it helps out a ton!: https://twitter.com/ShubhamPatilsd
Top comments (3)
I think the pattern is happening a lot of times. One thing that also helps with being a loved language is that almost nobody is 'forced' to use it, and projects are relatively young.
The same kind of thing happened with Rust compared to other languages. Also with Quarkus, a JVM framework compared to Spring. In both these cases also the ecosystem is less mature compared to things that have been around longer.
IMO being forced to use it could also result in a rise in popularity if the tech is good
Forced by who? Yes, it could increase the rise in popularity, but it might also increase unhappiness, since when people are forces to use certain tech, it's also easy to blame it when things go south.