Svelte 4 vs. Svelte 5 - Runes and Snippets 👀
ฝัง
- เผยแพร่เมื่อ 11 ก.ค. 2024
- 📝 In this video, I show you some basic differences between Svelte 4 and the upcoming Svelte 5
.🚀🔥 Build real web apps: www.svelterust.com/
Don't forget to hit the like button, subscribe to SvelteRust, and turn on the notification bell 🔔 to stay updated with our latest videos 🚀.🔥
Chapters:
00:00 - Intro
00:15 - Runes
00:40 - Reactive let-statement vs. $state
01:15 - $: vs. $derived
01:32 - Benefit of Svelte 5
02:20 - $effect rune for side effects
03:02 - export let vs. $props
03:55 - slot in layouts vs. children()
04:18 - Snippets for reusable UI - วิทยาศาสตร์และเทคโนโลยี
Want to BUILD real web apps? Join the SvelteRust community today: svelterust.com
Great video explaining Svelte 5 changes in just 5 minutes 👏👏👏👏👏
Nice video, very short and direct. I was still very confused how to use this new features in practice and this helped me understand it better
This is very concise. No useless yapping. Good job!
I hate yapping. Definitely think technical videos should be straight to the point 😉
This was good content. I hope you get more views and channel grows
Thanks for the kind comment! I want to build an exclusive community around Svelte and Rust in the future so people can easily learn from others, hire each other, work on projects together and generally just build faster 😁
Thanks a lot! Can't wait for more Svelte 5 content :D maybe more complex reactive scenarios (e.g. having a firebase real-time document subscription inside an easy to use reactive helper function, and changing the value automatically writes to firestore).
Definitely, thanks for the idea. I'll cook something up 😄
great video thanks bro keep going 👍
Great illustration...
I get it that svelte needed to do this for future features. but this reminds me so much of react.
Edit: Snippets are really good. One of the few things i like about the changes
It's all converging back to Knockout.js🤣
I get what you're saying, but I don't think it goes further than it looking more like React. Actually using it feels completely different.
Can u share your vim/nvim config files please?
It's Emacs, you can find it here: github.com/knarkzel/nixos/tree/master/dotfiles/emacs