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... - วิทยาศาสตร์และเทคโนโลยี
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
got kinda used to the old syntax, but the new runes definitley make it more clear
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 ^^
frankly i didn't understand it too. haha thats why i didn't cover it
@@nevillebrem 😂
That was clear and simple, thanks for that!
glad you liked it!
Definitely clear, thanks, Nev.
good to hear
That was very clear thanks!
glad you liked it!
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.
thank you for the feedback and the ideas!
reminds me of preact signals
Yh cos they're basically svelte's version of signals
@kobbyisvalid true
Молодец пацан!
thank you
vue but with different syntax
yeah kinda. but that's not a bad thing ig
@@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.
@@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
@@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.