Svelte 5 Surprised Me

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024
  • Huge congrats to the Svelte team for this release!!! More like Solid is almost always a good thing, so I'm pretty hyped about this change
    Link to the blog: svelte.dev/blog/runes
    Link to Rich video: • Rich Harris - Rethinki...
    ALL MY VIDEOS ARE POSTED EARLY ON PATREON / t3dotgg
    Everything else (Twitch, Twitter, Discord & my blog): t3.gg/links
    S/O Ph4seOn3 for the awesome edit 🙏
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 191

  • @robolist2277
    @robolist2277 ปีที่แล้ว +469

    we would be on mars by now if svelte was how the dom originally worked

    • @tedspens
      @tedspens ปีที่แล้ว +5

      Totally Jetsons style! 🚀

    • @engageintellect
      @engageintellect ปีที่แล้ว +4

      Can confirm.

    • @SzaboB33
      @SzaboB33 ปีที่แล้ว +43

      This was exactly what I was thinking! We figured out that frontend code works better with a datadriven paradigm so we hack the whole functionality to make it work with virtual DOM or equal sign overload.
      HTML6 should maybe just make reactivity work by default.

    • @_rtdp_
      @_rtdp_ ปีที่แล้ว

      😂😂😂 noice one...

    • @ossonku
      @ossonku ปีที่แล้ว

      😅@@tedspens

  • @Fanaro
    @Fanaro ปีที่แล้ว

    Most JS frameworks are now finding out what the observer patter is?

  • @benkolya
    @benkolya ปีที่แล้ว +141

    Can't help noticing the similarities to Vue 3, which is certainly not a bad thing

    • @saadhabashneh5587
      @saadhabashneh5587 ปีที่แล้ว

      Can you state the similarities?

    • @heyjitendra
      @heyjitendra ปีที่แล้ว +24

      Yea I too agree.
      Vue has a PhD in reactivity

    • @wobsoriano
      @wobsoriano ปีที่แล้ว

      @@saadhabashneh5587 search "Vue Reactivity Transform"

    • @emartinez__
      @emartinez__ ปีที่แล้ว +4

      Also composables

    • @djpunisha29
      @djpunisha29 ปีที่แล้ว

      @@saadhabashneh5587 I think what the comment auther means is that the main similarity is $derived in Svelte can be seen as computed in Vue
      Also $effect can be seen as watchEffect in Vue ...

  • @masonsten
    @masonsten ปีที่แล้ว +78

    I actually think svelte 5's syntax is much more similar to Vue's composition API than anything. Lotta good improvements, will be interesting to test it out. I'm also curios if TS works better in Svelte these days. That's one of the biggest reasons I love JSX templating, the TS always seems to work better for me, I assume because Vue/Svelte have to manage there own LSP.

    • @PanosPitsi
      @PanosPitsi ปีที่แล้ว +15

      Svelte was literally built with ts in mind there is type inference between fronted and backend automatically

    • @benocxx7906
      @benocxx7906 ปีที่แล้ว +10

      I've been using Svelte/kit for a long time and I have full typesafety front to back. Never had an issue. That being said, I also think that Svelte 5 syntax feels like Vue and I'm glad it does!

  • @jacoblockwood4034
    @jacoblockwood4034 ปีที่แล้ว +55

    Definitely do a "playing with Svelte 5" vid

  • @jacoblockwood4034
    @jacoblockwood4034 ปีที่แล้ว +60

    So excited to upgrade all my stupid sites to the new dope version lol

    • @isdeonf
      @isdeonf ปีที่แล้ว +2

      You must be fun at parties

    • @jacoblockwood4034
      @jacoblockwood4034 ปีที่แล้ว

      @@isdeonf Why? Because I left a comment on a TH-cam video? You just did the same thing... Besides I was being sarcastic

    • @Time2paw
      @Time2paw ปีที่แล้ว

      "Besides you think you being sarcastic..."

  • @hicoop
    @hicoop ปีที่แล้ว +67

    I can't wait for svelte 6:
    const [$data, $setData] = $state("test")

    • @HenriqueNewsted
      @HenriqueNewsted ปีที่แล้ว +5

      Exactly what i though. They are slowly realizing the React way is the best way to write things.

    • @donirahmatiana8675
      @donirahmatiana8675 ปีที่แล้ว

      lol

    • @imrdeveloper
      @imrdeveloper ปีที่แล้ว

      JAJAJAJAJAJAJAJAJA ❤

    • @mrgerbeck
      @mrgerbeck ปีที่แล้ว +9

      @@HenriqueNewsted It's more like Solid than React, and a lot more approachable.

    • @DEVDerr
      @DEVDerr ปีที่แล้ว +1

      @@HenriqueNewsted But it's not like React in any way. It's more like Solid now

  • @sahiltrivedi69
    @sahiltrivedi69 ปีที่แล้ว +176

    “Svelte is becoming React” “Svelte is becoming Solid” “Svelte is becoming Vue”

    • @samifouad
      @samifouad ปีที่แล้ว +99

      Svelte is actually just becoming a better version of Svelte

    • @cristianpallares7565
      @cristianpallares7565 ปีที่แล้ว +10

      That means the signals paradigm is good 😁

    • @minnh2094
      @minnh2094 ปีที่แล้ว +11

      I feel like Svelte lost its uniqueness. Not sure whether it is good

    • @JEsterCW
      @JEsterCW ปีที่แล้ว

      @@minnh2094 lol

    • @daleryanaldover6545
      @daleryanaldover6545 ปีที่แล้ว +3

      Not really, do you know where where SFC came from? It was from Svelte. Just like how Evan took the better parts of react to make Vue, he explored the possibility of SFC by Svelte with Vue and that is how compositions API was introduced, there was a huge drama about the moving away from options API to the new compositions API. If you read Vue 3 docs, it was also mentioned they explored compiler runtime but did not push through it because of how vue runtime is initially designed (around react's virtual dom of course).

  • @LookRainy
    @LookRainy ปีที่แล้ว +12

    this looks more like, not React, no Solid, but Vue

  • @oidualx
    @oidualx ปีที่แล้ว +45

    I'm also hyped for Svelte 5, but I love Svelte 4 and I never got the argument that is not JavaScript, implying that React somehow just is. How can people claim that JSX "is" JavaScript is beyond me.
    In that example, what does it tell you that "count" is updated in the DOM? You are literally mutating its value! Not such a stretch of the imagination.

  • @dermachedjamel8970
    @dermachedjamel8970 ปีที่แล้ว +4

    I still don't understand the hype about svelte 5 when we already have Vue 3
    they look the same.

  • @nightshade427
    @nightshade427 ปีที่แล้ว +20

    Svelte now looks like vue sfc

    • @daleryanaldover6545
      @daleryanaldover6545 ปีที่แล้ว +5

      Vue initially copied SFC from Svelte. Svelte just saved their time and copied Vue reactivity instead since they already have SFC thing in the first place. And from what I know, Vue had a habit of copying the good parts of other frameworks, react's virtual dom is the first thing comes to mind. I think it's fair for Svelte also take a dip on the Vue's cake.

    • @TheDeprecatedLibrarian
      @TheDeprecatedLibrarian ปีที่แล้ว

      sfc?

  • @dlongodesign7026
    @dlongodesign7026 ปีที่แล้ว +21

    Yes please! ❤ More Svelte vids Theo!

  • @tedspens
    @tedspens ปีที่แล้ว +16

    I was wondering what's Theo's thoughts on Svelte 5 and runes. Now I'm wondering what you'll do when you first get your hands on it. Yes, absolutely make a video, preferably as you first try it out. Personally, I'm kind of hyped.

  • @yourivanmill
    @yourivanmill ปีที่แล้ว +7

    Soooooo Sevlte 5 is secretly Vue 3

    • @nooalovern
      @nooalovern ปีที่แล้ว

      It's for us who don't like JSX or Virtual DOM a.k.a Solid and VUE.

  • @djpunisha29
    @djpunisha29 ปีที่แล้ว +8

    Similar to Vue $derived in Svelte can be seen as computed in Vue...
    Also $effect can be seen as watchEffect in Vue ...

    • @Aoredon
      @Aoredon ปีที่แล้ว +1

      k didn't ask tho

    • @djpunisha29
      @djpunisha29 ปีที่แล้ว +2

      @@Aoredon ?

  • @lazyh0rse
    @lazyh0rse ปีที่แล้ว +5

    Whoever is on the fence, you are missing out. I switched permanently from react to svelte and I don't regret it one bit.

  • @Jeff-co.
    @Jeff-co. 3 หลายเดือนก่อน +1

    Svelte is amazing... was amazing. Just like Vue, Svelte had an original and unique idea of how to handle state and build pages. It was its own thing, different from Angular/React/Vue. But now, just like Vue 3, Svelte 5 is slowly changing into React. This thing about "$derived", "$state", "$effect", is all just React useMemo, useState, useEffect. Vue stopped being Vue on version 3, and so its originallity lasted 2 versions (up to Vue 2). Now Svelte's originallity would've lasted 4 versions, because version 5 just proved, yet again, that React has been right all along. Two amazing frameworks, Vue and Svelte, who started gorgeouslly doing their own thing and making devs around the world fall in love and have faith in modern JS, have now copied React and become what they were originally trying to defeat. What a sad time for all JS devs. I'll have to keep with Svelte 3/4, just like I've kept with Vue 2. Knockout was right all along. Svelte... was amazing.

  • @dzienisz
    @dzienisz ปีที่แล้ว +9

    Am I the only one who isn't excited about this? It's yet another new thing to dive into. While I have great respect for Rich Harris, for me, this feels like a framework where I'm not entirely sure what I'm doing.

  • @stevewinner
    @stevewinner ปีที่แล้ว +6

    Yes, do more videos on Svelte and trying things out with Svelte 5... We're switching a legacy site from backbone/marionette to Svelte and would I'd like to see your thoughts on it once you have a chance to try it out... anyways, keep up the good work and content :)

  • @SzaboB33
    @SzaboB33 ปีที่แล้ว +3

    I live the fact that Svelte 5 makes these features opt in because I will not use these.

  • @Metruzanca
    @Metruzanca ปีที่แล้ว +12

    Svelte 5 is cementing my belief in Solid's future being brightest. Runes are effectively signals. So not only is "svelte becoming react" but its also becoming Solid.
    EDIT: oh he says it too at 4:10 - dammit, why'd I comment before watching the video.

    • @waleedbinalim
      @waleedbinalim ปีที่แล้ว +5

      I had the same feeling that this is highly similar to what SolidJS is achieving. Solid honestly deserves some more love and showcasing

  • @tanotive6182
    @tanotive6182 ปีที่แล้ว +8

    Would love to see a video where you explore using runes in Svelte 5!

  • @CrzyMan_Personal
    @CrzyMan_Personal ปีที่แล้ว +6

    Svelte is basically ditching its soft magic system for a hard magic system

  • @josephs1732
    @josephs1732 ปีที่แล้ว +7

    Solidjs syntax doesn't even need a compiler for this exact thing to work. One can use solid signals like a library in any project. You should do more with solidjs since it's technically way more superior than svelte which is more hype than anything

  • @ZyncInteractive
    @ZyncInteractive ปีที่แล้ว +16

    Svelte 5 looks a bit like Vue. $derived looks like computed, $effect looks like watchEffect. But overall looks great, going to give it a shot

    • @Anonymous-ib7dc
      @Anonymous-ib7dc 5 หลายเดือนก่อน

      Runes + stores for me felt even a bit nicer than vue piñata but still you are not far off

  • @al3030
    @al3030 ปีที่แล้ว +5

    Yes, to more content about Svelte. Looks like it has a lot of traction these dayd

  • @yoanestradablanco1608
    @yoanestradablanco1608 ปีที่แล้ว +4

    Sveltel Equal Vue3 :)

  • @snailedlt
    @snailedlt ปีที่แล้ว +3

    Great video as always. Would be nice if you linked to the articles you're reading for easy access though

  • @ivanc3176
    @ivanc3176 ปีที่แล้ว +3

    $ is fine. I always saw using JavaScript syntax to write JavaScript as positive of svelte.

    • @rafikkasmi1406
      @rafikkasmi1406 ปีที่แล้ว +3

      exactlyyyyyyyy, i still cant understand the hype over svelte 5, like they just killed it's uniqueness by making it similar to other frameworks in the industry (react,vue,solid...), the simplicitiy of svelte was indeed its selling point , but now why would anyone choose svelte over the others ?

  • @Fruitdev01
    @Fruitdev01 ปีที่แล้ว +2

    It’s really incredible how you can read through and understand documentation so quickly and with such eloquence. As a Junior dev, I hope I can read docs as quickly as you & understand them like this someday 🤞

  • @noxus_z
    @noxus_z ปีที่แล้ว +1

    Literally vuejs

  • @mikhalpalych
    @mikhalpalych ปีที่แล้ว +13

    Everytime i look at things happening in svelte i have uncontrollabe urge to make a statement that vue3>svelte

    • @lucasjames8281
      @lucasjames8281 ปีที่แล้ว +6

      Virtual dom

    • @cherloire7978
      @cherloire7978 ปีที่แล้ว

      ​@@lucasjames8281 yet its surprisingly fast on benchmarks

    • @crab-cake
      @crab-cake ปีที่แล้ว

      @@lucasjames8281 to be fair, vue is working on getting rid of their v-dom with what they call 'vapor'. that being said, i prefer svelte regardless.

    • @atanasantiev7237
      @atanasantiev7237 ปีที่แล้ว

      vapor@@lucasjames8281

    • @berniko4954
      @berniko4954 10 หลายเดือนก่อน

      @@lucasjames8281Sheesh

  • @thomasmuller8266
    @thomasmuller8266 ปีที่แล้ว +6

    Signals do not need magic, Runes are against the original idea of Svelte, it is a compiler. Solid is still the best piece of frontend framework engineering imo, it needs more adopters.

  • @otnima
    @otnima 11 หลายเดือนก่อน +1

    The problem is that adding all this as an additive feature means that all the previous behaviour is still there. This seems like a really strange choice to me, it'll make learning the language really confusing. Imagine trying to explain to a newcomer the difference between `let count = $state(0)` and `let count = 0` where `let count = 0` can be reactive but "it depends". I feel like they should've ditched the old behaviours all together.

  • @vipero07
    @vipero07 3 หลายเดือนก่อน

    0:20 "I don't like when people change the syntax of javascript without really good reason."
    Yet you like JSX?

  • @minnh2094
    @minnh2094 ปีที่แล้ว +1

    I dont dislike the new Svelte, I just cant think of how different is Svelte compared with other frameworks now :/

  • @gummipo
    @gummipo ปีที่แล้ว +2

    Would love to hear your take on ElectricSQL and the whole local-first idea.

  • @WillDelish
    @WillDelish ปีที่แล้ว +2

    I enjoy svelte, but I also like jsx. Maybe I should try solid

  • @ISKLEMMI
    @ISKLEMMI ปีที่แล้ว +2

    The Carniatoization of the JS ecosystem continues unabated and I'm here for it.

  • @fakevc211
    @fakevc211 ปีที่แล้ว +1

    Did Theo just hit puberty?

  • @robertshuxley
    @robertshuxley ปีที่แล้ว +2

    i know it helps with the youtube algorithm but the thumbnails are getting out of hand

    • @minnow1337
      @minnow1337 ปีที่แล้ว +1

      the clickbait stuff prevents me from watching ngl

    • @gamevidzist
      @gamevidzist ปีที่แล้ว

      That's the most basic thumbnail you'll find in TH-cam land

    • @yestermonth
      @yestermonth ปีที่แล้ว

      ​@@minnow1337Same, was forced to watch because there aren't enough Svelte Runes video yet

  • @gabrielcastilho4168
    @gabrielcastilho4168 ปีที่แล้ว +3

    Yes, please more svelte content

  • @_ryaaan
    @_ryaaan ปีที่แล้ว +2

    Would love to see more Svelte content out of curiosity

  • @dzisonline
    @dzisonline ปีที่แล้ว +1

    That's "it's more like React" comment hurt me, mostly because it's true.

  • @alisherdotdev
    @alisherdotdev ปีที่แล้ว +1

    3:57 Svelte becoming Vue actually

  • @МаркЧолак
    @МаркЧолак ปีที่แล้ว +1

    So Svelte's approach to describing reactivity actually turns into what Effector did 🤔

  • @soumitripattnaik
    @soumitripattnaik 9 หลายเดือนก่อน

    Vue 3 has all of this from years at this point and yet nobody talks about it anymore.

  • @additionaddict5524
    @additionaddict5524 ปีที่แล้ว +1

    Yes to Svelte 5 video but only if you eat a pizza pocket whilst doing so

  • @jengstrm2
    @jengstrm2 ปีที่แล้ว +1

    Yeah. I never loved $ but yeah, the dumped everything sub-optimal 🎉

  • @thenewdesign
    @thenewdesign ปีที่แล้ว +1

    Yeah bruh, React died in 2022. Long live Svelte

  • @paulclarke4099
    @paulclarke4099 ปีที่แล้ว +1

    More Svelte/SvelteKit content please 💯❤🙏👍

  • @SamualN
    @SamualN ปีที่แล้ว +1

    these fake tweet thumbnails are very samey

  • @cooltune
    @cooltune ปีที่แล้ว +4

    Geezus again with the $-signs. It's my php/ jquery days all over again. My shift-key is gonna get demolished. Just go Vue at this point my guys. And your components will resemble your ts-modules-code almost 1:1. No jsx, non of this $-sign nonsense. Just regular "import {this} from that" and then using reactive variables in your html-templates. That what its suppose to be. That it!

    • @DEVDerr
      @DEVDerr ปีที่แล้ว +3

      Well... $ signs have a purpose here. They're "magic symbols" that tell compiler to do some compiler-specific tasks. So during compilation time, with $ sign they can easly split such an expression to:
      - what magic symbol was used
      - what was passed inside of it
      so that they can safely and easly apply some effect on what was inside

    • @danvilela
      @danvilela ปีที่แล้ว

      Svelte 5 remove the need of importing stuff. Biggest win! You mash your shift key importing funcs way more than the dollar bill sign

    • @samuelmorkbednarzkepler
      @samuelmorkbednarzkepler ปีที่แล้ว +3

      ​@@danvilelayou can do autoimports in Vue also. It even comes default in nuxt

  • @Voidstroyer
    @Voidstroyer ปีที่แล้ว +6

    We might be witnessing the t3 stack migrating to svelte boys!!!

  • @syrix5914
    @syrix5914 ปีที่แล้ว +1

    The get at 3:15 is confusing. Everything else looks way better than before!

    • @P4INKiller
      @P4INKiller ปีที่แล้ว

      count is a primitive, so you have to create a get method to access the local variable.
      Otherwise you would be getting the same initial value, and not the mutated one.

  • @MikeHTMLAllTheThings
    @MikeHTMLAllTheThings ปีที่แล้ว +1

    T3 stack on Svelte 5 wen?

  • @succatash
    @succatash ปีที่แล้ว +1

    The hair looks good here. Great vid

  • @yihad3255
    @yihad3255 ปีที่แล้ว +3

    banger alert!!! time for me to take another look at svelte🙄

  • @mpiorowski
    @mpiorowski ปีที่แล้ว +1

    More Svelte!

  • @heugh_jazz
    @heugh_jazz 11 หลายเดือนก่อน

    Dude, shape up your moustache

  • @bryanleebmy
    @bryanleebmy ปีที่แล้ว +1

    We're SolidJS now!

  • @daleryanaldover6545
    @daleryanaldover6545 ปีที่แล้ว

    When Vue copied SFC from Svelte and Next copied Server context from Sveltekit, jus a few lines of code and we can merge these three frameworks together 😂

  • @waytospergtherebro
    @waytospergtherebro ปีที่แล้ว

    I want to look a lot worse than Weird Al Yankovic and make everyone who sees me uncomfortable.

  • @tomfancode
    @tomfancode ปีที่แล้ว

    Why we need sve when we have vue. Finally, I use Astro. Not next js, not nuxt js 😂

  • @kaixuanjaw3173
    @kaixuanjaw3173 ปีที่แล้ว

    OK I don't even care about the video, wtf is this hairstyle and moustache combo theo

  • @ChadcholMeesaeng
    @ChadcholMeesaeng ปีที่แล้ว +4

    What's the point? What's fixing? Why change to be "reacty"?

    • @nowheremap
      @nowheremap ปีที่แล้ว

      i like the amount of features that this makes obsolete: a simpler syntax and a less quirky implementation can make svelte even cleaner and more intuitive...
      you may call that reacty, but imo it only makes svelte more svelte, bc those were already some of svelte's strengths (and bc svelte is a word with an actual meaning)

  • @freecollege6363
    @freecollege6363 ปีที่แล้ว

    1:25 how is it that you can't see that when count updates the markup updates as well but in react you can?

  • @gro967
    @gro967 ปีที่แล้ว

    So it's basically implementing all the good Vue principles :D

  • @GamBar64
    @GamBar64 ปีที่แล้ว +2

    I just hope it dosent move more towards React..
    I enjoyed writing let and knowing that Svelte will take care of it. It's not that hard to learn and follow imo

  • @fabiancarrasco9841
    @fabiancarrasco9841 ปีที่แล้ว

    As someone who does not like React. Svelte is not becoming react 🙂

  • @n4bb12
    @n4bb12 ปีที่แล้ว

    Great improvements, those are exactly the things that have been bothering me.

  • @eldarshamukhamedov4521
    @eldarshamukhamedov4521 10 หลายเดือนก่อน

    The move away from JS hijacking is huge.

  • @lukasvainikevicius2463
    @lukasvainikevicius2463 9 หลายเดือนก่อน

    yes

  • @Valiant600
    @Valiant600 ปีที่แล้ว

    So Svelte 5 and Vue 3 mostly resemble React but with different namings? Hooks are observables or runes?

    • @daleryanaldover6545
      @daleryanaldover6545 ปีที่แล้ว

      Yeah, when Vue copied SFC from Svelte and Next copied Server context from Sveltekit, jus a few lines of code and we can merge these three frameworks together 😂

  • @vcbiotech
    @vcbiotech ปีที่แล้ว

    Do a video where you play with Svelte 5!!!

  • @wesleymatos6899
    @wesleymatos6899 ปีที่แล้ว

    definitely do a video playing with svelte 5

  • @shreyanshsheth290
    @shreyanshsheth290 ปีที่แล้ว

    Svelte is basically now react with jotai

  • @yarrichar
    @yarrichar ปีที่แล้ว +4

    Yes, more svelte please.

  • @markzuckerbread1865
    @markzuckerbread1865 ปีที่แล้ว

    anyone else notice how he combed his hair

  • @Noritoshi-r8m
    @Noritoshi-r8m ปีที่แล้ว

    Feels like VueJS in steroids, i like it

  • @muslim8622
    @muslim8622 ปีที่แล้ว +2

    Runes really looks like hooks, svelte 5 enable more clarity and code sharing
    The refactoring of svelte DX prove one thing, even if we come with a dozen of (fair) critiques on React, it was implemented with really good stuff especially the introduction of the hook in the framework, it was absolutly NUTS
    Encapsule the logic in a simple js function and use everywhere you need, it’s a very clever and useful feature
    Vue 3 implement a similar pattern with the composition API
    Even if we can do better, React stay a source of inspiration for the new frameworks

    • @dealloc
      @dealloc ปีที่แล้ว +1

      They are effectively just signals. Difference is that signals inverses the control. With hooks, you subscribe to the lifecycle of a component, whereas with signals, the component subscribes to the signals.

  • @JoyofCodeDev
    @JoyofCodeDev ปีที่แล้ว

    🔥

  • @EphYxRS
    @EphYxRS ปีที่แล้ว

    Very nice mustache sir!

  • @sinasalahshour
    @sinasalahshour ปีที่แล้ว +2

    it's sad that we lost surgical updates tho, now it feels like render function in react. but maybe there's a performance benefit..
    edit:
    surgical updates are kinda back (when you call function in your template)

  • @jacksingermusic
    @jacksingermusic ปีที่แล้ว

    Nice haircut, Theo!

  • @aarondunphy_
    @aarondunphy_ ปีที่แล้ว

    No to Svelte content 😳😬

  • @pedrohakia1
    @pedrohakia1 ปีที่แล้ว

    WE LOVE YOU THEOOOOOO ❤❤❤❤

  • @funcmethod
    @funcmethod 11 หลายเดือนก่อน

    More Svelte pls

  • @naregtokatlian2869
    @naregtokatlian2869 ปีที่แล้ว

    more svelte please

  • @0xedb
    @0xedb ปีที่แล้ว

    Not Theo tryna mimic Rich's voice😂

    • @t3dotgg
      @t3dotgg  ปีที่แล้ว +2

      Not trying to mimic anything, guess I sound more like Rich at 7am 😅

  • @hanes2
    @hanes2 ปีที่แล้ว

    Svelte 5: Vue 3

  • @robolist2277
    @robolist2277 ปีที่แล้ว

    first

    • @tedspens
      @tedspens ปีที่แล้ว

      You stole first without commenting on the video?

  • @vojtasks
    @vojtasks ปีที่แล้ว +2

    Svelte is dead. It is just a wrong way. There's literally nothing in here.

  • @levi2408
    @levi2408 ปีที่แล้ว +4

    Would love to see more svelte content, seems like it's still an underloved framework

    • @sdwvit
      @sdwvit ปีที่แล้ว +1

      It is a redundant framework lol that’s why no interest from the public

    • @PanosPitsi
      @PanosPitsi ปีที่แล้ว +10

      @@sdwvitit’s literally just react with better syntax and like 10x faster.

    • @oscarljimenez5717
      @oscarljimenez5717 ปีที่แล้ว

      usually template based frameworks have a hard time, because have too much magic and feel like lock-in in some way.

    • @cocoscacao6102
      @cocoscacao6102 ปีที่แล้ว +3

      @@oscarljimenez5717 Template being "magic" while JSX being just JS is one of those horrible, hilarious and wrong statements. Both need to translate input to html, except JSX does it in a more ugly way.

  • @sadkebab
    @sadkebab ปีที่แล้ว

    They are fixing the specific things that are holding me from actually adopting Svelte more often, very exited about Svelte 5.

  • @3sgtecelica
    @3sgtecelica ปีที่แล้ว

    Damn it. Svelte waa so intuitive for me while is react is the complete opposite. Not looking forward to it being more React-like

  • @Matyanson
    @Matyanson ปีที่แล้ว

    2:19
    Please explain to me how changin the syntax of `let count = 0;` to `let count = $state(0);` suddenly makes it more tracable?
    It is still let, it is still in the same place.
    let is not a constant but variable and you should expect it to change...

    • @Matyanson
      @Matyanson ปีที่แล้ว

      Obviously declaring a variable in a function would not be accessible since it is encapsulated in its scope

  • @mrcode6123
    @mrcode6123 ปีที่แล้ว

    what happened to your hairs

  • @sir.richardpound
    @sir.richardpound ปีที่แล้ว +2

    The update is awesome for svelte, but imagine writing your app around everything Svelte 5 introduces and then needing to switch front-end framework later down the line...

    • @JoeHartzell
      @JoeHartzell ปีที่แล้ว +14

      Imagine writing everything in react then needing to switch front-end framework later down the line....

    • @sir.richardpound
      @sir.richardpound ปีที่แล้ว

      @@JoeHartzell With svelte 5 what's the difference? Instead of the age of vendor lock-in, now it's framework lock-in

    • @exactzero
      @exactzero ปีที่แล้ว +4

      @@sir.richardpound That's the point they were making. There's no difference, whether you use React or Svelte 5. So your original comment doesn't make sense.

    • @sir.richardpound
      @sir.richardpound ปีที่แล้ว

      @@exactzero you want to be locked into a framework? That's nuts

    • @PanosPitsi
      @PanosPitsi ปีที่แล้ว

      @@sir.richardpounddo you even know how to read?