I use Svelte now for about a Year with a couple of hobby and 2 production apps... And I love the framework. All the new Svelte 5 changes really bring alot to the table and Im looking forward getting to use em in production.
Wow that's amazing! This will reduce a lot of boilerplate for sure! The feature to add type annotations to templates is something that's sorely missing from a lot of more mature frameworks a well (looking at you Angular)
Types have always been cool. Svelte's Typescript troubles have been incredibly uncool, however. How SvelteKit defaults to JSDoc. How you have to do lang="ts". Hopefully the more subtle problems are a thing of the past now?
To be honest, I didn't like these new changes at first, because now, it looks like React, and react is a piece of garbage. But these "minor" changes, like "fixing TS directly", snippets, and events now can be passed as props, definitely makes me love svelte again.
Types should of always been cool, I feel like younger developers always learn why we did things a certain way the hard way. Just like they say Design Patterns are stupid, yet they use them every single day without realizing they are using them which is just hilarious. Next up they will find out why OOP is useful, instead of just labeling it as bad without understanding it's strengths.
This only works if you include `lang="ts"` in your `` tag.
This is a very big step forward for Svelte apps
I use Svelte now for about a Year with a couple of hobby and 2 production apps... And I love the framework.
All the new Svelte 5 changes really bring alot to the table and Im looking forward getting to use em in production.
Holy ****, I literally ran into this problem yesterday. Svelte is not disappointing me ❤. Love it.
Really Happy for thats awesome changes.. yeah.. very excited.
Lol this is the exact problem I run into yesterday, thanks for the update!
You're welcome! 😄
Thank you for this video, it’s great news :)
Very clear digest thanks!
Amazing, this is a great step, we keep moving forward
This is amazing
Thanks for the update!
Thank you for becoming a member! 🙏
Great! I want snippets, but they were unusable due to no Typescript support. Nice you actually put a snippet example in the end!
Wow that's amazing! This will reduce a lot of boilerplate for sure! The feature to add type annotations to templates is something that's sorely missing from a lot of more mature frameworks a well (looking at you Angular)
LETS GOOOOOOOOOOO
FINALLYY
so cool 😎
Finally!
I love how they said thar snippets concept was stupidd, and not needed but they ended implementing it
🚀🧡
Is snippets just like local / small components?
Well, you can also cast types using JSDoc syntax. Been using JSDoc for types and documenting props.
Types have always been cool. Svelte's Typescript troubles have been incredibly uncool, however.
How SvelteKit defaults to JSDoc. How you have to do lang="ts".
Hopefully the more subtle problems are a thing of the past now?
What is the name of the theme that you are using? 😍
Link in the description.
ive always worried about this
To be honest, I didn't like these new changes at first, because now, it looks like React, and react is a piece of garbage.
But these "minor" changes, like "fixing TS directly", snippets, and events now can be passed as props, definitely makes me love svelte again.
Types should of always been cool, I feel like younger developers always learn why we did things a certain way the hard way. Just like they say Design Patterns are stupid, yet they use them every single day without realizing they are using them which is just hilarious. Next up they will find out why OOP is useful, instead of just labeling it as bad without understanding it's strengths.
I like svelte I use svelte all the time, but this is crap.
as const as option?... that's some ugly syntax
nice!