No video

What's New in SvelteKit 2.0?

  Рет қаралды 4,454

Ben Davis

Ben Davis

Күн бұрын

SvelteKit 2.0 is here! It has, uh, well, shallow routing?
announcement post: svelte.dev/blo...
changes guide: kit.svelte.dev...
shallow routing code: github.com/bmd...
my stuff
discord: / discord
x (twitter): / bmdavis419
insiderviz: www.insiderviz...
blok: www.theblokapp...
timestamps
0:00 intro
0:57 the changes
3:44 shallow routing

Пікірлер: 22
@ultrasive
@ultrasive 6 ай бұрын
I like small changes, easy to keep up with
@oleh1
@oleh1 6 ай бұрын
Know what's easier? Not having to upgrade your codebase every year because of deps breaking changes. Why not just deprecate tech debt but keep it the the package, so old projects are not missing out?
@peppi69
@peppi69 6 ай бұрын
anyone else having weird problems with streaming data from a load function? My streamed data is never fulfiled when i use a promise. When i use a promise inside a async function it gets fulfiled but the data will just be placed somewhere on the page as a stringified json.
@registro_pedagogico
@registro_pedagogico 6 ай бұрын
saludos desde Boivia Me emociona mucho esta tecnologia
@0lange
@0lange 6 ай бұрын
Is there like a base template that you use for to start a sveltekit project, things like settings up tailwind, have a basic website layout, and other repetitive tasks? I've always found it annoying to do the initial set up just to get started working on a project
@bmdavis419
@bmdavis419 6 ай бұрын
we are working on it...
@sadunozer2241
@sadunozer2241 6 ай бұрын
If you are cool with typescript, skeleton is great template and the docs are awesome
@gadgetboyplaysmc
@gadgetboyplaysmc 6 ай бұрын
I've used Svelte for months now and the only few things I hate about it is no native TS support in svelte files (specifically in markup, I can't typecast anything), not being able to pass JSX like syntax in the Script tag, typescript snippets also don't work in the script tag. Does anyone else feel how clunky the LSP is sometimes? Sometimes I can't even get intellisense for my props in my components unless I press ctrl + space before any other props.
@bmdavis419
@bmdavis419 6 ай бұрын
Those two things right there are my main/only complains with svelte lol (that and the custom #if syntax is meh)
@W4nn3
@W4nn3 6 ай бұрын
Typescript in markup works in Svelte 5.
@mormantu8561
@mormantu8561 6 ай бұрын
Yeah definitely feel the clunky LSP. Issue I have the most is that it sometimes doesn't get the "PageData" type correct and it has no information on what I am passing from my load function.
@judahwilson6756
@judahwilson6756 6 ай бұрын
Yess small can be good
@ScriKidding-eg6vn
@ScriKidding-eg6vn 6 ай бұрын
Because of SvelteKit im unemployed but i choose SvelteKit i choose DX fk yeah
@CodeZakk
@CodeZakk 6 ай бұрын
awesome do you use vue/nuxt is there any advantage of using sveltekit over nuxt i'm nuxt developer?
@bmdavis419
@bmdavis419 6 ай бұрын
I have not spent enough time with nuxt to be able to give a good opinion. I personally love/prefer the way sveltekit works over next, idk how nuxt works
@piyush7119
@piyush7119 6 ай бұрын
I'm not sure how much I like shallow routing yet...
@bmdavis419
@bmdavis419 6 ай бұрын
To me it is very much a "that's neat" fluff type feature. Like I'm happy to have it, and it will be a cool addition to the site, but like honestly idk how much it really matters
@piyush7119
@piyush7119 6 ай бұрын
@@bmdavis419 Yep! I'm happy that we have it, but not sure that I'll be using it very often.
@hazlanmshabli9137
@hazlanmshabli9137 6 ай бұрын
its actually quite neat and i am using it in my project
@mr_clean575
@mr_clean575 6 ай бұрын
Will Svelte 5 runes affect boilerplate for authentication or db calls?
@coolemur976
@coolemur976 6 ай бұрын
Why should they ? Runes are for state.
@bmdavis419
@bmdavis419 6 ай бұрын
Probably not no
Svelte Runes Change How Reactivity Works In Svelte
8:52
Joy of Code
Рет қаралды 31 М.
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
How and Why I Rebuilt my SAAS App
13:24
Ben Davis
Рет қаралды 20 М.
NextJS VS SvelteKit in 2024...
15:51
Ben Davis
Рет қаралды 12 М.
14 Awesome Real World Projects Using Svelte
10:49
Joy of Code
Рет қаралды 25 М.
Using JavaScript Libraries With Svelte Is Easy
17:37
Joy of Code
Рет қаралды 12 М.
What's New In SvelteKit 2? (Shallow Routing 😍)
15:01
Joy of Code
Рет қаралды 22 М.
Should you learn Go in 2023?
4:33
Dreams of Code
Рет қаралды 170 М.
AI SDK 3.1 First Impressions
24:12
Ben Davis
Рет қаралды 6 М.
10X Your SvelteKit Developer Experience in VSCode
10:00
Huntabyte
Рет қаралды 37 М.