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
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
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
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
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...
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.
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
@@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 :)
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
The banter around $effect made my day. Loving Svelte 5 - great video 😛
Very good and informative video ❤
Easy peasy lemon squeezy is getting out of control
🍋
This is 🔥
What VSCode theme are you using?
easy peasy lemon squeezy 🍋
i think huntbyte class based context runes is the best approach so far for runes
wow magic thank you $master
Cool video
Interesting😍...
🔥🔥🔥
Just commenting to show i can do it before the video is public 😎🤟🏻
😂 you find it from some playlist right?
@@vaisakhkm783 nope I'm on Patreon so I get early preview
createEventDispatcher is deprecated in svelte 5 and replaced by $host rune. Please make a video on it
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
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
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
i never use store after runes came out
yeah I love runes
Follow Up, Please :)
🫡
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...
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.
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
@@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 :)
yeah I use info cards for that
as always, great great job!
huge inspiration
thank you 😄