Svelte 5 is Bigger Than You Think

  Рет қаралды 11,415

Davis Media

Davis Media

15 күн бұрын

Svelte 5 is (basically) here, and I wanted to go over the major changes that have made this framework SO much better.
Some great videos going deep on runes:
- [Svelte 5: Introducing Runes... with Rich Harris]( • Svelte 5: Introducing ... )
- [Let's Make A Todo App Using Svelte 5 Runes]( • Let's Make A Todo App ... )
- [Svelte Runes: Awesome or Awful?]( • Svelte Runes: Awesome ... )
- [svelte now has magic]( • svelte now has magic )

Пікірлер: 71
@lcarv20
@lcarv20 13 күн бұрын
Keeping the title of “The best fontend framework” for a few years in a row. Love to see it. Nice video.
@stephanpio
@stephanpio 13 күн бұрын
Awesome video, I started using classes for most of my shared state and it was a game changer. Realizing I could export the class (for local state specific to a component) as well as exporting an instance of the class and reusing it basically covers all of the typical use cases I have for shared state. I didn't really comprehend the value when I first started using Svelte 5 but I think the pattern you described in the video will become the norm. Thanks to you, JoyofCode, and Huntabyte for providing a lot of helpful short videos on these topics.
@adriablancafort
@adriablancafort 12 күн бұрын
Svelte 5 is amazing! I love runes and I love how cleaner the syntax looks now. Thanks Rich Harris for listening. Now I can confirm that it is "vibes optimized".
@paulclarke4099
@paulclarke4099 12 күн бұрын
Great to see you back to covering more Svelte 💯😃👍
@nro337
@nro337 11 күн бұрын
Really great coverage on this one!
@zap813
@zap813 13 күн бұрын
4:00 in practice you'll probably want to use the context API anyway by initializing the object within the top level layout or something, since globals could get reused on the server between requests and leak data. On the plus side you don't have to worry about context rerendering your whole application like you do in React.
@bmdavis419
@bmdavis419 13 күн бұрын
yea its not something you are gonna be using all the time, its just really nice that it exists
@paulclarke4099
@paulclarke4099 12 күн бұрын
@@bmdavis419 Would love you to do a video on the proper usage of state in a multi user application using Svelte5/SvelteKit that uses server side data and the proper way to handle state so that data is properly isolated based on the logged in user so that no data is leaked or corrupted between multiple different users 👍
@karolus__
@karolus__ 12 күн бұрын
Svelte5 is awesome, but as for now it's not production ready. There is plenty of libraries that doesn't work with Svelte5 or u need some additional fixes to make it work. I can't wait for the release.
@bmdavis419
@bmdavis419 11 күн бұрын
The nice thing is it is fully backwards compatible, you either opt in or opt our at the component level, so if u need a lib that does not work with it use svelte 4 syntax, but for new stuff you can adopt runes!
@arnavshukla2408
@arnavshukla2408 8 күн бұрын
I'd love for you to do a Svelte 5 Tutorial. I'm really enjoying your videos, keep it up!
@bmdavis419
@bmdavis419 7 күн бұрын
just uploaded my svelte 5 + supabase video!
@RyoukenDofus
@RyoukenDofus 13 күн бұрын
Fuckk Ben you just convince me to start migrating my app to svelte 5 before releasing the mvp
@bmdavis419
@bmdavis419 13 күн бұрын
i mean like u shouldn't but also i did so
@rumble1925
@rumble1925 12 күн бұрын
Bro don't churn just for the sake of it
@JustSuds
@JustSuds 13 күн бұрын
I’m using svelte5 in two production apps currently already, and I’ve got to say snippets are one of my favourite things.
@moveonvillain1080
@moveonvillain1080 12 күн бұрын
Any way I can break into Svelte ecosystem.... Haven't seen many jobs for it. Currently working in Angular 16 have worked in Next.Js as well
@rerere1569
@rerere1569 13 күн бұрын
Thank you for the video, might check svelte 5 once it's fully released Btw have you tried Solid? I've been playing around with it for a while and it looks like better react in some ways
@bmdavis419
@bmdavis419 13 күн бұрын
never used it, but yea "better react" is the vibe I get
@HariPrasad-mn5vu
@HariPrasad-mn5vu 5 күн бұрын
Finally i found someone who keps that annoying sidebar on the left :-). Btw what theme are you using??
@bmdavis419
@bmdavis419 5 күн бұрын
Github Dark
@MadeInJack
@MadeInJack 12 күн бұрын
How would you create your Workout AI app using Svelte 5 (without RSC)? A video would be great about that, to show that you can build Generative UI apps using Svelte too! Thanks!
@bmdavis419
@bmdavis419 11 күн бұрын
You would just need to do a lot more custom work, working on implementing it now, will cover it soon!
Күн бұрын
How is the experience of using Svelte5 with SvelteKit? I used Sveltekit a long time ago when it was quite early and got burnt by all the hard coding needed to leverage the unstable parts. Looking at using SvelteKit for a new project but Svelte5 not being stable it feels a bit like getting back in the risk of having to deal with breaking changes.
@bmdavis419
@bmdavis419 Күн бұрын
I have it in production and have not used svelte 4 in months, personally I've had zero issues and massively prefer it to svelte 4
20 сағат бұрын
@@bmdavis419@bmdavis419, your videos have convinced me to give it a try. thanks for sharing.
@meka4996
@meka4996 8 күн бұрын
Amazing! I am SOLD!
@prix4638
@prix4638 13 күн бұрын
hi, i rlly liked your vscode theme, how's it called? thanks and awesome content!
@racapella
@racapella 13 күн бұрын
github theme
@bmdavis419
@bmdavis419 13 күн бұрын
Github Dark Default
@BhideSvelte
@BhideSvelte 12 күн бұрын
Amazing 🎉🎉🎉
@dan-bz7dz
@dan-bz7dz 2 күн бұрын
Any better abstraction than using a class?
@bmdavis419
@bmdavis419 2 күн бұрын
u can use a function, but I've been using it a lot over the last few days and I honestly think classes are the best
@buiquockhoi
@buiquockhoi 11 күн бұрын
Hi, what font are you using? It looks nice and clean!
@bmdavis419
@bmdavis419 11 күн бұрын
Geist vercel.com/font
@dei8bit
@dei8bit 12 күн бұрын
aguante svelte ♥
@mikelchannel4080
@mikelchannel4080 13 күн бұрын
look out, there´s a typo in the title, is Than, not Then
@bmdavis419
@bmdavis419 13 күн бұрын
idk what ur talking about ;)
@forno_nicolas
@forno_nicolas 12 күн бұрын
Svelte 5 💯🎯
@scott_itall8638
@scott_itall8638 12 күн бұрын
Svelte 5 has taken so long to come out I went off and learnt Laravel lol.
@maloxi1472
@maloxi1472 12 күн бұрын
It's actually Laravel that led me to learn Vue (when Vue was still a dependency of the project), before I drank the Svelte Kool-aid. I still like Laravel but would never voluntarily go back to it 😄
@scott_itall8638
@scott_itall8638 12 күн бұрын
@@maloxi1472 Laravel has become part of my job now so knowing it well is a must, still love Svelte. Been using Livewire which I'm finding pretty cool the similarities between Livewire and what the rest of the frameworks are trying to accomplish is cool to see. Cant compare them cause Laravel is a full batteries included framework.
@WebDevCody
@WebDevCody 12 күн бұрын
Looks like mobx to me
@bmdavis419
@bmdavis419 11 күн бұрын
kinda does lol
@sean_reyes
@sean_reyes 11 күн бұрын
what brand and model is that keyboard behind you?
@bmdavis419
@bmdavis419 11 күн бұрын
www.keychron.com/products/keychron-q4-pro-qmk-via-wireless-custom-mechanical-keyboard?variant=40487284605017
@sean_reyes
@sean_reyes 11 күн бұрын
@@bmdavis419 I’m honestly grateful with your reply, but I was actually talking about the other keyboard 🎹
@bmdavis419
@bmdavis419 11 күн бұрын
@@sean_reyes oh lmao my bad roland fp-60x
@nomadshiba
@nomadshiba 2 күн бұрын
still uses compiler
@BhideSvelte
@BhideSvelte 12 күн бұрын
Which vs code theme do u use ?
@bmdavis419
@bmdavis419 11 күн бұрын
Github dark
@lordxan1
@lordxan1 20 сағат бұрын
Basically svelte5 is vue3
@luka1790
@luka1790 12 күн бұрын
Can you store state in a snippet?
@bmdavis419
@bmdavis419 11 күн бұрын
I don't think so, I tried importing them from a seperate file and that did not work, so I think their state is tied to the in their file
@luka1790
@luka1790 10 күн бұрын
@bmdavis419 i like Svelte, but snippets feel redundant to me without being assign to state within. They might aswell adopt jsx, then maybe typescript finally works properly within a svelte component.
@bmdavis419
@bmdavis419 9 күн бұрын
@@luka1790 I actually had a real life usecase that was really nice yesterday Basically in the new insiderviz we have a company screener, and a form screener. Both of these use the same sidebar "screener" component, but each need to have a different "Save screener" section based on the page. So what I did is create a snippet on each page, then pass it into the component and render it out there.
@EladBarness
@EladBarness 13 күн бұрын
For me it’s becoming too much react
@bmdavis419
@bmdavis419 13 күн бұрын
I agree, but I actually think its a good thing. To me runes feel like react hooks without the annoying parts (no dep arrays, no getter/setter, etc)
@zap813
@zap813 13 күн бұрын
I don't get why people are saying this when the only similarity is the use of the word 'state' and 'effect'. How you use them and how they work under the hood is completely different.
@bmdavis419
@bmdavis419 13 күн бұрын
@@zap813 under the hood 100% they are completely different, but as end users the abstractions FEEL pretty similar
@adriablancafort
@adriablancafort 12 күн бұрын
It has almost nothing to do with react. It is much more similar to solid, which looks just like react but works completely differently. Runes are all about signals, which are clearly the way to go for reactivity. And they remove all the ugly syntax of $: in svelte 4.
@EladBarness
@EladBarness 11 күн бұрын
I don’t have any experience in solid however I liked the ease of use of old svelte and the straight forward approach, however I definitely understand your point, the limitations are clear but I liked the way that the work arounds are plain js without any abstractions, I feel the new approach is the reason why I don’t like react but again I definitely understand the point.
@gadgetboyplaysmc
@gadgetboyplaysmc 13 күн бұрын
first
@mikelCold
@mikelCold 10 күн бұрын
I knew nothing about Svelte before watching this, and while you've explained things well, I've concluded that Svelte is in fact garbage. I assume as such, now it's confirmed. Svelte geeks are like the ruby geeks of the php days. Nerds need to learn to type with their keyboard and stop coming up with awful ways of programming.
@MetalGuruSvk
@MetalGuruSvk 10 күн бұрын
Would you care to provide at least one reasonable argument why you think it is "garbage"?
@mohabedr5030
@mohabedr5030 13 күн бұрын
why do you talk too much ?
@a7kerkh
@a7kerkh 13 күн бұрын
What?
@NicholasMaietta
@NicholasMaietta 13 күн бұрын
There it is! They say there are no stupid questions, but I just discovered one in the wild.
@bmdavis419
@bmdavis419 13 күн бұрын
being more succinct is definitely something I'm working on!
@edenassos
@edenassos 12 күн бұрын
@@bmdavis419 You don't have to worry about being cancelled, just say what you really mean when someone comments something like this. ;)
Svelte used by big companies?
0:53
Prismic
Рет қаралды 6 М.
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 15 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 75 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 3,5 МЛН
Supabase just shipped a LOT of cool stuff...
15:31
Davis Media
Рет қаралды 3,4 М.
So You Think You Know Git Part 2 - DevWorld 2024
23:02
GitButler
Рет қаралды 70 М.
i didn't know these svelte tips
18:56
Nev the Dev
Рет қаралды 3 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,5 МЛН
Let's Make A Todo App Using Svelte 5 Runes
26:55
Joy of Code
Рет қаралды 23 М.
5 Things I Wish I Knew When I Started Using SvelteKit
7:27
Davis Media
Рет қаралды 10 М.
I already love SvelteKit v2
12:11
Huntabyte
Рет қаралды 36 М.
Svelte 5: Introducing Runes... with Rich Harris
12:35
Svelte Society
Рет қаралды 91 М.
I Tried Every Svelte UI Library
20:57
Joy of Code
Рет қаралды 41 М.
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
Secret Wireless charger 😱 #shorts
0:28
Mr DegrEE
Рет қаралды 2,1 МЛН
Телефон в воде 🤯
0:28
FATA MORGANA
Рет қаралды 1,2 МЛН