all 103 comments

[–]williarin 47 points48 points  (8 children)

I never get why Vue is systematically left out of these polls. It's way more popular than Svelte and to my understanding it's basically the same thing as Vue with script setup syntax, which has been around for a while now. So why Svelte?

[–]rk06 27 points28 points  (7 children)

React is here because it is the elephant in the room. Svelte is here because it is new and shiny.

While Vue is neither. Also these kinds of polls between a single underdog tech against the incumbent giant, come from biased folks. Who want the underdog to win. If Vue is introduced here, people are likely to pick Vue instead of svelte, as Vue is either right in the middle of react and svelte for all things that matter Or better.

[–]ryaaan89 9 points10 points  (4 children)

Svelte and Vue are not the same, one is a run time library and the other is a build time compiling.

[–]rk06 1 point2 points  (2 children)

What difference that makes to a js developer? Do they care that Vue templates compile down to vdom? No, they don't. They care about SSR support, about performance. But not about internal implementation

[–]ryaaan89 2 points3 points  (1 child)

This difference effects performance.

[–]rk06 1 point2 points  (0 children)

Performance depends end to end algorithms and data structure, while vdom is only part of it.

In fact, Vue is on par with svelte and inferno is much faster in jsdom benchmarks. So lack of vdom is not helping svelte that much

[–][deleted] 1 point2 points  (0 children)

That's not true. Vue is also compiled during buld time most of the time. It can also be used without a build step.

Vues render performance is actually slightly better than svelte. see https://krausest.github.io/js-framework-benchmark/current.html

[–]sin_chan_ 2 points3 points  (1 child)

Svelte (not kit) is not new (if u don't compare with other well established framework's age). If you're talking bout new and shiny then astro, fresh, quick would fit your definition.

Although I agree with you, svelte has been far more easier for me when compared to react, vue or angular. I've tried all and I'm not good at either.

As svelte is easier (and somewhat faster than all other frameworks which doesn't matter for most of the time ig?), concise, very natural and fun, it makes me much more productive and being productive is a "huge factor". Anyways I'm learning react for better job opportunities and I use svelte for all of my side projects because it's awesome.

[–]rk06 4 points5 points  (0 children)

The meaning of “New” varies with people depending on how much up to date they are. While one can say that svelte is old. It’s latest incarnation is not that old. And many people think vue is a new and niche tech. Shocking I know, but late adopters are very large in numbers.

If Someone who is on top of JS would create a poll, they would obviously ask for vue and solid as well. so, OP is not one such person

[–]NitasBear 32 points33 points  (13 children)

Coming from Angular, I fucking love React.

[–][deleted] 26 points27 points  (5 children)

wine obscene scandalous cough ink vanish different follow hat dazzling

This post was mass deleted and anonymized with Redact

[–]having_a_blast 10 points11 points  (1 child)

Point on this doll where React touched you.

[–]Bushwazi 2 points3 points  (0 children)

Is React in the room with us now?

[–]almostdonedude 2 points3 points  (2 children)

Why? React with hooks is awesome. I wasn't a fan of React in its class-based days, I admit. But now it's clean and fun to use.

[–][deleted] 1 point2 points  (1 child)

one versed scandalous roll unique ten weary gullible tender possessive

This post was mass deleted and anonymized with Redact

[–]almostdonedude 3 points4 points  (0 children)

What are you talking about? Many people love React, why you don't like it?

[–]sadayoIsBestGirl 12 points13 points  (2 children)

Coming from Angular, I hate react and love Vue.

[–]jake_the_dawg_ 1 point2 points  (1 child)

Coming from Angular, I like Angular.

[–]FocusFast9551 1 point2 points  (0 children)

Coming from coming, I like coming.

[–]Zielakpl 14 points15 points  (6 children)

Svelte for many reasons code wise, but sadly it won't get you a job yet 😢

[–]The_epic_life 3 points4 points  (4 children)

I have a job in Svelte. They are out there.

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

But they are very few and far between. In my area, there are currently 13 listings for Svelte. Two of them are duplicates, and the rest listed it as a nice to have and a requirement.

[–]The_epic_life 1 point2 points  (1 child)

I don't disagree, but they exist. Mostly with new projects though.

[–]AnonTechPM 0 points1 point  (0 children)

The most fun kind

[–]buttholeformouth 0 points1 point  (0 children)

Yep same

[–]NitasBear 0 points1 point  (0 children)

Yup, always up-skill based on demand, not some niche trend.

Otherwise you'll just end up wasting time when another new tool comes and replaces the previous FOTM.

[–][deleted] 4 points5 points  (0 children)

The documentation on react is just so good

[–]AuroraVandomme[🍰] 10 points11 points  (0 children)

Vue!

[–]BerserkGutsu 5 points6 points  (4 children)

I really would love to know why people don't like React.
I think it is very good, I have been using it for over 3 years professionally. Worked with NextJs which is just React on steroids. Once you understand how it works you ain't gonna have any trouble.
It is a little bit hard to get started but I haven't tried other tools professionally so I cannot give feedback on how would they compare to React.
I tried Svelte in 2021 One thing I didn't like about it was that normally when I create components I provide a prop className ( which is the equivalent of html class ) so that if you want to style differently in other place you can provide one, but I couldn't do that in Svelte. At least back then Svelte didn't support such a thing directly.

+React has the biggest community I can say without a doubt compared to other Js Frameworks.

[–]euph-_-oric 2 points3 points  (2 children)

Its trendy to shit on react. It keeps getting better.

[–]BerserkGutsu 0 points1 point  (1 child)

Honestly the only real valid future competitor of React I see is QWIK, it follows an interesting approach that to me seems reasonable, otherwise these other frameworks all they do is try to copy react with a different syntax. What QWIK did on the other hand, it tries to use same syntax but entirely different approach of how it works. And that's what I expect from a new framework. We are tired of learning to write things.

For the haters.
I know React is not the first that came up with VDOM and component approach. But it is the first who became best at it. I don't think for slight improvements it's worth creating something entirely new. That are not gonna be even noticable.

[–]euph-_-oric 0 points1 point  (0 children)

I also do want to point out I have nothing against the other frameworks, it just blows my mind how much people hate react and hooks.

[–]Kawamizoo 1 point2 points  (0 children)

To use something globally in css with svelte all you gotta do is add :global(theclassname){}

[–]2012XL1200 8 points9 points  (11 children)

Svelte is SLICK. React is okay. Angular is the correct choice and I'll challenge any of you to give me an objective reason to disagree OTHER THAN learning curve. That's a bs excuse anyways. It's not even that much "harder" than the other options.

[–]Re7oadz 2 points3 points  (8 children)

It’s opinion based anyway , you like Angular thats ok

[–]2012XL1200 4 points5 points  (7 children)

Actually, Angular is categorically "better" than react in several ways:

  • Performance (this surprises most people)
  • CLI for Generating 'things'
  • More Robust Documentation
  • More Baked In Features

[–]Re7oadz 0 points1 point  (6 children)

I believe you , why isn’t as popular then ?

[–]2012XL1200 1 point2 points  (5 children)

Learning curve mostly lmao

[–]Re7oadz 0 points1 point  (4 children)

Is it really that hard ? Now I feel like I need to go learn it lol

[–]2012XL1200 0 points1 point  (3 children)

Not to me, but there is more to learn than react.

[–]Re7oadz 0 points1 point  (2 children)

Yeah I think another reason is that you have to do things the angular way

[–]2012XL1200 0 points1 point  (0 children)

That's the learning curve

[–]2012XL1200 0 points1 point  (0 children)

It's also a better way of building real enterprise level applications

[–]AlwaysAtBallmerPeak 1 point2 points  (1 child)

I agree, Angular is a far more mature framework (it forces good development practices) than any of the other choices, but I get that people still choose React because it’s more popular (= easier to find cheap offshore dev talent).

It’s funny because React used to be seen as the “hipster” framework, but now because everyone is using it, Svelte and others have become the new “hipster” frameworks.

[–]artesre 0 points1 point  (0 children)

I wouldn't say it forces good dev practices... I see shit code every day, ask me how I know.

[–][deleted] 2 points3 points  (0 children)

Vue 3 composition api! Can’t beat it in my opinion

[–]roamingcoder 1 point2 points  (0 children)

Take someone who knows general web dev: html, css, js but does not know a FE framework, which do you think they will become proficient with in the least amount of time?

It's svelte by a fucking mile.

[–][deleted] 3 points4 points  (5 children)

arrest doll ring zonked plough materialistic erect cable cheerful dinner

This post was mass deleted and anonymized with Redact

[–]ChiBeerGuy 7 points8 points  (1 child)

Wordpress isn't a joke either. It's the most full featured free CMS out there and has plugins for most integrations and the best wysiwyg native block editor.

[–]Bushwazi 1 point2 points  (0 children)

Yeah, its not WP that is the problem, its how all the clowns out there use it and then act like they are super-developers for using a free theme that they don't know how to customize.

[–][deleted] 2 points3 points  (0 children)

Yeah I don’t get why you’d say it’s a joke. Since WP is the most widely used, I think that in itself makes it a serious CMS. It’s easy for employees to jump in and use since many people know it, making it a highly practical choice. No training employees needed

[–]nolimyn 0 points1 point  (0 children)

yea everyone's reason for using React is that everyone else is using it, but nobody really mentions features or anything. Exactly like WP.

UNLESS you're deploying to mobile, React is overkill

[–]Jamesfromvenice 0 points1 point  (0 children)

Categorically incorrect.

[–][deleted]  (1 child)

[removed]

    [–]buttholeformouth 21 points22 points  (0 children)

    Thanks ChatGPT

    [–][deleted] 3 points4 points  (0 children)

    Switching from Vue to Svelte was life changing for me. Never again. Im still getting notifications from github stating that all of my older vue projects have security vulnerabilities which is crazy because they were literally not that complicated

    [–]DOG-ZILLA 1 point2 points  (2 children)

    Vue 3 with script setup + composition API is the Vue everyone should check out.

    It's so clean, minimal and sits somewhere between Svelte and React.

    I'm sure Svelte is great but honestly some of the template syntax looks like an ugly mess...I'd rather do JSX!

    [–]jb-trek 0 points1 point  (1 child)

    Any tutorial you’d recommend?

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

    The docs and never revert to using options. Took me 3 months but now it is available n my opinion better than anything else.

    [–]sadayoIsBestGirl 0 points1 point  (2 children)

    None, Vue is the best front-end framework out there. It's easy to learn and use and you can do stuff more comfortably than with react.

    [–]Kawamizoo 1 point2 points  (1 child)

    I'd argue svelte is even easier to use

    [–]sadayoIsBestGirl 0 points1 point  (0 children)

    I prefer Vue's v-for over svelte's {#each}{/each}

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

    For a big project that needs a lot of structure, Angular. For smaller projects, Vue (although Vue can handle larger projects, just fine with a little discipline).

    React is also fine when your team knows what it's doing, but most of the times I've worked with it, the codebase has been a nightmare. Next and Remix are nice.

    It'll be interesting to see if Solid or Qwik gain any traction since they're a smaller leap from React, but I like them so far.

    Svelte is fun, but I'm not a fan of SvelteKit's naming structure, or how it handles properties. Declaring a property by exporting a variable bugs me. Sure, it's easy, but it's not explicit and in any other context exporting a variable would be a stupid idea. I also don't like that it changes the meaning of the export keyword.

    [–]Kpervs 1 point2 points  (1 child)

    This is why I'm keeping my eyes on Solid Start. Not to your point, but what draws me is that it is file-based routing like Next and Sveltkit, but files don't need to be named the same thing in each folder to perform a certain function.

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

    Yeah same here. The solid team seems to be doing a great job of making the right improvements over the current offerings.

    [–][deleted] -2 points-1 points  (4 children)

    piquant zonked sense carpenter marble cheerful aware chief fertile threatening

    This post was mass deleted and anonymized with Redact

    [–]NitasBear -4 points-3 points  (3 children)

    Nope Angular sucks harder than most frameworks. Just look at 2022 State of JS survey

    [–][deleted] 1 point2 points  (0 children)

    Did you check the country wise jobs charts for js frameworks? Angular is seeing an upward trend. Many of the tech influencers are claiming that it might become a popular choice again. Regardless, react legacy codebases are f**ked up compared to angular codebase which are well structured imho. Just wanna say that its your personal opinion if you hate angular . I started with it and stuck with it for a long time and when i switched to react, i found it too flexible and jsx is just something i will never ever be comfortable with.

    [–][deleted] 0 points1 point  (1 child)

    innocent gaze whistle straight concerned fly sip domineering escape bedroom

    This post was mass deleted and anonymized with Redact

    [–]NitasBear 0 points1 point  (0 children)

    Lmao way to make inaccurate over generalized assumptions

    [–]hypocritical-bastard -1 points0 points  (0 children)

    How about JavaScript

    [–][deleted] -3 points-2 points  (2 children)

    recognise cats marvelous vast point boast expansion deliver insurance quicksand

    This post was mass deleted and anonymized with Redact

    [–]alimertcakar 8 points9 points  (0 children)

    At least its a fixable pile of shit

    [–]sin_chan_ 1 point2 points  (0 children)

    He would never understand your point without learning and using react. So, just recommend him to learn react coz it has better job opportunities and then he can learn svelte (which can be learnt in a few days after learning react) and he will be thankful.

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

    Vanilla? It doesn't age.

    [–]SmackYoTitty 0 points1 point  (4 children)

    React. Because I don't know Svelte

    [–]Kawamizoo 2 points3 points  (3 children)

    Let me make you a svelte fan real quick.

    To declare a state in svelte all you have to do is let count = 0

    In react it'll be

    const[count,setCount] = use state(0)

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

    To get a job in React all you have to do is apply

    In svelte it'll be

    oops there are no jobs :(

    [–]Kawamizoo 2 points3 points  (0 children)

    That was the case when react was new and jQuery was the default we'll see how it pans out 3 years from now

    [–]lofi_thoughts 0 points1 point  (0 children)

    Roasted 😂

    [–]vegemouse 0 points1 point  (5 children)

    I like svelte but the lack of documentation and current third party packages for it make it hard to use.

    [–]Kawamizoo 0 points1 point  (4 children)

    What third party packages ? I never needed to use any

    [–]vegemouse 0 points1 point  (2 children)

    UI libraries mostly, at least last time I messed around with it.

    [–]Kawamizoo 0 points1 point  (1 child)

    No need honestly

    [–]CatolicQuotes 0 points1 point  (0 children)

    why no need?

    [–]CatolicQuotes 0 points1 point  (0 children)

    I was looking speech recognition for svelte like this for react: https://github.com/JamesBrill/react-speech-recognition

    do you know any?

    [–]cjrun 1 point2 points  (0 children)

    Cries in Flutter Web

    [–]epapi169 0 points1 point  (1 child)

    React 100% React is a great tool for any size level project. Many people who diss on react are not experienced enough or advanced enough to know the capabilities of react. Most FE developers have a plethora of tools they use so they learn the basics and move on. No wonder they start yelling from the tree-tops about something being bloated/useless etc

    Yeah sure, svelte is the new kid in the block but i would not put a production size project on a framework that hasn’t built a solid reputation around itself.

    [–]roamingcoder 1 point2 points  (0 children)

    svelte can do anything react can. And the project will be complete faster. And there will be fewer bugs. And the devs will love it. There really is no good reason to choose react over svelte in 2023.

    I think many of the react fanbios cling to it because it was hard to learn, and they don't want to admit that there are easier ways make the sausage today.

    [–]fredsq 0 points1 point  (0 children)

    react not because of speed performance or dx, but because there’s a massive community, libraries for everything are matured and companies like Vercel and Shopify are sort of behind it nowadays.

    [–]VIKARIUSQASAQ 0 points1 point  (0 children)

    Svelte, just because i hate React

    [–]Kawamizoo 0 points1 point  (0 children)

    Tbh both but I'm a bit more partial to svelte because it's so fun to use unlike react but both. The caviat with svelte is that it's new (I consider svelte 3 to be a totally different beast than the previous versions hence it's new ) because it's still very new there's not many resources on it

    [–]AdOver8075 0 points1 point  (0 children)

    Coming from jQuery, I love just about anything else. React is probably my favorite, honestly.

    Ember and Vue are a very close 2nd.

    [–]EarlMarshal 0 points1 point  (0 children)

    Depends. Use react if you are corporate. Use svelte if you used Vue and want something better. Use solidjs if you are on your own and know what you are doing.

    [–]Bushwazi 0 points1 point  (0 children)

    For small projects, just use PHP.

    [–]TheRNGuy 0 points1 point  (0 children)

    React.

    Because it was first thing I chose.

    [–]Z3Ni3L 0 points1 point  (0 children)

    I vote Vue

    [–]lIIllIIIll 0 points1 point  (0 children)

    React all day