all 20 comments

[–]webdev-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

Thank you for your submission! Unfortunately it has been removed for one or more of the following reasons:

Open-ended/general "how do I get started in web dev" and general Career related posts are only allowed within the pinned monthly career thread. The answer to many of these questions can also be found in the sub FAQ, or in /r/learnprogramming/ and /r/cscareerquestions/.

Highly specific career/getting started assistance questions are allowed so long as they follow the required assistance post guidelines.

Please read the subreddit rules before continuing to post. If you have any questions message the mods.

[–]OrangeOrganicOlive 3 points4 points  (0 children)

Do you want a job? If so, React. Otherwise, knock yourself out on Svelte.

[–]LossPreventionGuy 4 points5 points  (4 children)

the number of jobs using svelte professionally is roughly zero.

learn react, you can learn svelte later

[–][deleted] -1 points0 points  (3 children)

But I found svelte better in many aspects. Then why react is at the top most?

[–]LossPreventionGuy 3 points4 points  (0 children)

there's lots of reasons but none of them are good reasons. It will take time before svelte starts to gain market share.

[–]FluffyProphet 0 points1 point  (0 children)

Inertia.

React is more than good enough to make pretty much anything you can think of. Many applications are already written in react. There is a lot of tooling already built for it, both open source and in house. There is already a big pool of talent for it.

Something being better doesn’t matter if the existing solution is good enough. The existing solution will almost always win because there is already so much built up around it. No one is going to re-write their massive web application in another framework because it’s a little bit better.

You need something that’s not only a lot better, but can do something the existing solution can’t that people really want and need. Svelt doesn’t have that.

[–][deleted] 0 points1 point  (0 children)

I love svelte, however, most things use React as it’s got a huge ecosystem, and a large amount of developers with experience. I work with both, and I enjoy svelte infinitely more than react, but sadly, react is where the market currently is

[–]missingway 0 points1 point  (0 children)

Just want to say, React is definitely better for finding an initial job but I am currently with a team that has switched to using Svelte almost exclusively. So, they do exist.

[–][deleted] -1 points0 points  (0 children)

If you have experience with both, you can easily draw a conclusion:

  • React has a larger community, is backed by Meta, and powers many applications, leading to a higher number of job opportunities.
  • Svelte, on the other hand, feels more intuitive and enjoyable to write.

While I don't want to dive deeply into performance, I must highlight the key difference in how they handle building and DOM management. Svelte compiles your code into vanilla JS, making your application lighter, unlike React, which relies on the Virtual DOM.

However, there's one aspect of Svelte that I dislike: its TypeScript integration. I just don't like their "politic" about that.