svelte now has magic

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 มิ.ย. 2024
  • svelte 5 preview docs: svelte-5-preview.vercel.app/d...
    my links: links.nevillebrem.com
    subscribe for more:)
    Timestamps:
    00:00 Intro
    00:33 What are runes?
    01:29 state
    02:34 derived
    03:44 effect
    04:43 props
    06:22 inspect
    07:12 Summary my music is from epidemic sound (referral link): www.epidemicsound.com/referra...
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @kozmikhero6749
    @kozmikhero6749 วันที่ผ่านมา +1

    I learned Svelte 4 between November-March before not touching a code editor again for 3 months. Coming back I think I really like the changes Svelte 5 has. I never liked the export let syntax and the "$" confused me somewhat. This looks a lot more straightforward

    • @nevillebrem
      @nevillebrem  วันที่ผ่านมา

      got kinda used to the old syntax, but the new runes definitley make it more clear

  • @francoisbouchet9907
    @francoisbouchet9907 6 วันที่ผ่านมา +2

    great explanations!! maybe I would need some explanation on the "bindable" rune... with a better example than the one in the docs because I'm getting confused by it ^^

    • @nevillebrem
      @nevillebrem  6 วันที่ผ่านมา +1

      frankly i didn't understand it too. haha thats why i didn't cover it

    • @francoisbouchet9907
      @francoisbouchet9907 6 วันที่ผ่านมา

      @@nevillebrem 😂

  • @supercurioTube
    @supercurioTube 17 วันที่ผ่านมา +1

    That was clear and simple, thanks for that!

    • @nevillebrem
      @nevillebrem  17 วันที่ผ่านมา

      glad you liked it!

  • @HaitiOutlook
    @HaitiOutlook 14 วันที่ผ่านมา +2

    Definitely clear, thanks, Nev.

    • @nevillebrem
      @nevillebrem  14 วันที่ผ่านมา

      good to hear

  • @b_arbaretier
    @b_arbaretier 24 วันที่ผ่านมา +3

    That was very clear thanks!

    • @nevillebrem
      @nevillebrem  24 วันที่ผ่านมา

      glad you liked it!

  • @deliriumcode
    @deliriumcode 21 วันที่ผ่านมา +1

    You got thumbs up and subscription.
    Please make more explanation videos like this. ;)
    Teach us how props can be used to create various blog posts or / and how state can be used on some ordering page for example.

    • @nevillebrem
      @nevillebrem  21 วันที่ผ่านมา

      thank you for the feedback and the ideas!

  • @fltngmmth
    @fltngmmth 24 วันที่ผ่านมา +2

    reminds me of preact signals

    • @kobbyisvalid
      @kobbyisvalid 24 วันที่ผ่านมา +1

      Yh cos they're basically svelte's version of signals

    • @nevillebrem
      @nevillebrem  24 วันที่ผ่านมา

      @kobbyisvalid true

  • @MetaverseBDFL
    @MetaverseBDFL 10 วันที่ผ่านมา +1

    Молодец пацан!

  • @artemisfowl127
    @artemisfowl127 22 วันที่ผ่านมา +1

    vue but with different syntax

    • @nevillebrem
      @nevillebrem  21 วันที่ผ่านมา +1

      yeah kinda. but that's not a bad thing ig

    • @artemisfowl127
      @artemisfowl127 21 วันที่ผ่านมา +1

      @@nevillebrem For sure, but it makes me wonder what makes a less developed ecosystem like svelte more appealing than something like vue? Not trying to hate on svelte just curious as I wanted to try it out but it just seems like vue now.

    • @nevillebrem
      @nevillebrem  21 วันที่ผ่านมา

      @@artemisfowl127 i can't really tell honestly. i really need to explore vue before i try to say something here. but honestly i don't have something to say here. i just think svelte is great and i like the syntax and the standards it supports. the ecosystem is actually pretty OK, it has all you need

    • @Antonio-fo4fl
      @Antonio-fo4fl 20 วันที่ผ่านมา +3

      @@artemisfowl127 I mean that's probably like saying why try view when svelte had a compiler first. There's different philosophies behind each that come through when you code. I find svelte to be more lean especially when it comes to interacting with just values. The ecosystem talk I find also isn't really a concern these days if I'm being very honest.