Why you Should NOT use Svelte
Svelte is a popular JavaScript framework for building web applications. While it has gained a lot of attention and praise from developers, there are several reasons why you might want to consider not using Svelte for your next project.
1. Limited Community Support
As a relatively new framework, Svelte has a smaller community compared to more established frameworks like React or Angular. This means you may have difficulty finding resources, tutorials, or support when facing issues with Svelte.
2. Learning Curve
Svelte has a unique approach to building web applications, which can make it challenging for developers who are already familiar with other frameworks. If you or your team are not willing to invest the time to learn Svelte’s specific syntax and concepts, it may not be the right choice for your project.
3. Limited Tooling and Third-party Libraries
While Svelte comes with its own set of tools and libraries, it may not have the extensive ecosystem and third-party integrations that other frameworks offer. This can limit your ability to leverage existing solutions and may require more custom development work.
4. Potential for Lock-in
By choosing to build your application with Svelte, you may become tied to its specific architecture and tooling. If Svelte were to become less popular or face significant changes in the future, migrating away from it could prove to be challenging and time-consuming.
5. Risk of Long-term Support
As a newer framework, there may be concerns about the long-term support and maintenance of Svelte. It is important to consider whether the framework will continue to be actively developed and supported in the years to come.
Conclusion
While there are certainly benefits to using Svelte, it is important to carefully consider the potential drawbacks before committing to it for your next project. It may not be the best fit for every development team or application, and it’s essential to weigh the pros and cons before making a decision.
Disclaimer: April Fools came early.
After using svelte, React feels like pile of garbage.
This altered me quite a bit before seeing the comments.
When you use Svelte it seems to tell you "it couldn't have been done better than this", an impression that anything else on the web has never given me.
ecosystem limited
you are a person who when write a code only import components from third parties
<script>
import …..
import …..
import …..
import …..
import …..
</script>
and scribe 2 lines html
i see web ruines for import components from third parties
PATETIC
Sounds like you a so junior dev. When you reach how things works under the hood doubt come to your react brain
Are you for real ?
Skill issue
xd
I rewrote my entire Next.js project with SvelteKit, and I am mad at myself for not doing it earlier.
are you sure you tried svelte or React ? or did you read un article and made a video , svelte is just vanilla js with reactive super power if you think that is hard i'm wondering how did you survive React js ? now i doubt you even tried it or using in any production project let alone doing a comparison
The ecosystem misunderstanding is a thing with svelte.
Let me tell you all, who is reading my comment.
Svelte, has no virtual dom
It is truly reactive.
What i mean is
You can always, get out of svelte, anywhere in your application.
You dont need the react hooks glue, or vue glue or whatever.
You can just use straight javascript into your svelte components, without anyone telling you that might be dangerous.
Of course, sometimes you might have to use onMount function to wait for mounting of a component.
But that's it for the svelte glue.
Just import jquery, define some custom actions for your HTML tags and you're good to go.
You want to use that jQuery plugin, datatablejs or something that you're used to put into your business applications? You can do it.
Just, be careful and try not to make too complex svelte/third-party relationships, if the third-party defines a destructor, put them in the returned function of onMount.
I can built with Svelte in about half the time it would take with React.
I was about to write a nasty reply and then I saw the pinned comment lol
Yes you shouldn't learn svelte. You should learn a framework that comes with 20+ state management libraries rather than a framework that comes with a built-in one.
This video is for lazy developers, that want to develop stuffs with a lot of libraries and without learning pure javascript. It is a shame tell that is hard to learn shelve. If you can't learn Swelve, you can't learn react, angular or vue.
React and Angular are the "unusual concepts", not svelte. Svelte syntax is MUCH closer to vanilla html than either of those. This video seems like someone who never learned vanilla, only learned React, then was surprised to find out that React isn't the whole universe.
I know right, I just spent the whole of last week implementing the routing and store system, svelte is really behind the far superior and easy to use reactjs. I hate the svelte templating with css js and html all in one file, it's just too complicated, I wish they did it like reactjs, which is the best javascript framework ever.
Have you tried Astro yet? What do you think of Astro framework with Svelte (Hydration)? This further increases performance. I read you. !
After using sveltekit with svelte, I won't be using nextjs or React anymore in new projects.
Svelte is Javascript, html and Css. So yeah. you do what you gotta do. have you ever wich for your HTML markdown file gain supper power. well, your prays have been answered. Look further no more.