Using Svelte Stores With Svelte 5 Runes To Create Runed Stores

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 31

  • @ScottimusPrime-j3q
    @ScottimusPrime-j3q 2 месяца назад +3

    This is one of the best svelte channels out there, thank you so much for doing this work. I've been wanting a better way to animate slides and video content and the potential here is just insane. Seriously groundbreaking work

  • @aaronjordan5626
    @aaronjordan5626 2 месяца назад

    The banter around $effect made my day. Loving Svelte 5 - great video 😛

  • @Navithecoderboi
    @Navithecoderboi 2 месяца назад +2

    Very good and informative video ❤

  • @brielov
    @brielov 2 месяца назад +4

    Easy peasy lemon squeezy is getting out of control

  • @vyntrixdev
    @vyntrixdev 2 месяца назад +1

    This is 🔥

  • @potion_brewer
    @potion_brewer 2 месяца назад +1

    What VSCode theme are you using?

  • @good-dev-student
    @good-dev-student Месяц назад

    wow magic thank you $master

  • @mikejohneviota9293
    @mikejohneviota9293 2 месяца назад

    i think huntbyte class based context runes is the best approach so far for runes

  • @justingolden87
    @justingolden87 2 месяца назад

    easy peasy lemon squeezy 🍋

  • @nanakojoatta-benyah7794
    @nanakojoatta-benyah7794 2 месяца назад

    Cool video

  • @dennispostma345
    @dennispostma345 2 месяца назад

    🔥🔥🔥

  • @twd2
    @twd2 2 месяца назад

    Interesting😍...

  • @couffin
    @couffin 2 месяца назад

    as always, great great job!
    huge inspiration

  • @ShourovRoy-pk5zm
    @ShourovRoy-pk5zm 2 месяца назад

    createEventDispatcher is deprecated in svelte 5 and replaced by $host rune. Please make a video on it

    • @JoyofCodeDev
      @JoyofCodeDev  2 месяца назад

      you don't need to use `$host` because it's for custom elements and event handlers are regular props so using `createEventDispatcher` is no longer required

  • @ertugrulsrt5761
    @ertugrulsrt5761 2 месяца назад

    Dont js promises run even if you don't await them? 6:18
    function sleep(time) {
    return new Promise(res => {
    setTimeout(() => {
    res()
    }, time)
    })
    }
    sleep(1000) will run and fullfill the promise after 1 second even if you dont await it

    • @JoyofCodeDev
      @JoyofCodeDev  2 месяца назад

      I have a queue of promises but I'm using a thenable to resolve them when they're done and the animation is not going to start until you use `.then` or `await` the promise

  • @paoloricciuti
    @paoloricciuti 2 месяца назад +8

    Just commenting to show i can do it before the video is public 😎🤟🏻

    • @vaisakh_km
      @vaisakh_km 2 месяца назад

      😂 you find it from some playlist right?

    • @paoloricciuti
      @paoloricciuti 2 месяца назад

      @@vaisakh_km nope I'm on Patreon so I get early preview

  • @mikejohneviota9293
    @mikejohneviota9293 2 месяца назад

    i never use store after runes came out

  • @tithos
    @tithos 2 месяца назад

    Follow Up, Please :)

  • @greenpumpkin172
    @greenpumpkin172 Месяц назад

    React is so shitty compared to signals like in Svelte or Vue, I wonder why so much people still use React... Actually, Preact which is lightweight React but with signals and almost no one uses...

  • @imfilou
    @imfilou 2 месяца назад

    I'm absolutely fan of your content, but I feel like this video isn't for me. I felt that you're going too quickly, and you don't explain enough what you're doing. I don't even know what "tween" and svelte/motion are. The animation is awesome tho.
    I mean, I don't understand a thing, but that's enough to see that this video benefits from the same editing quality your other videos have. As said in the beginning of this comment, this is not for me.

    • @JoyofCodeDev
      @JoyofCodeDev  2 месяца назад

      I have videos on these topics if you want to learn more but `svelte/motion` just provides a built-in `tweened` and `spring` Svelte store you can use to animate values over time

    • @imfilou
      @imfilou 2 месяца назад

      @@JoyofCodeDev That maybe the reason why I didn't understand. If you can make playlists in order to understand what videos we should watch before in order to have the requirements it would be great :)

    • @JoyofCodeDev
      @JoyofCodeDev  2 месяца назад

      yeah I use info cards for that