Using Svelte Stores With Runes For Animations

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

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

  • @ScottimusPrime-j3q
    @ScottimusPrime-j3q 24 дня назад +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 24 дня назад

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

  • @Navithecoderboi
    @Navithecoderboi 25 дней назад +2

    Very good and informative video ❤

  • @brielov
    @brielov 24 дня назад +2

    Easy peasy lemon squeezy is getting out of control

  • @vyntrixdev
    @vyntrixdev 26 дней назад +1

    This is 🔥

  • @potion_brewer
    @potion_brewer 24 дня назад +1

    What VSCode theme are you using?

  • @justingolden87
    @justingolden87 22 дня назад

    easy peasy lemon squeezy 🍋

  • @mikejohneviota9293
    @mikejohneviota9293 24 дня назад

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

  • @good-dev-student
    @good-dev-student 14 дней назад

    wow magic thank you $master

  • @nanakojoatta-benyah7794
    @nanakojoatta-benyah7794 25 дней назад

    Cool video

  • @twd2
    @twd2 24 дня назад

    Interesting😍...

  • @dennispostma345
    @dennispostma345 25 дней назад

    🔥🔥🔥

  • @paoloricciuti
    @paoloricciuti 26 дней назад +8

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

    • @vaisakhkm783
      @vaisakhkm783 24 дня назад

      😂 you find it from some playlist right?

    • @paoloricciuti
      @paoloricciuti 24 дня назад

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

  • @ShourovRoy-pk5zm
    @ShourovRoy-pk5zm 24 дня назад

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

    • @JoyofCodeDev
      @JoyofCodeDev  23 дня назад

      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 24 дня назад

    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  24 дня назад

      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

  • @mikejohneviota9293
    @mikejohneviota9293 25 дней назад

    i never use store after runes came out

  • @tithos
    @tithos 24 дня назад

    Follow Up, Please :)

  • @greenpumpkin172
    @greenpumpkin172 10 дней назад

    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 25 дней назад

    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  24 дня назад

      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 24 дня назад

      @@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  24 дня назад

      yeah I use info cards for that

  • @couffin
    @couffin 25 дней назад

    as always, great great job!
    huge inspiration