Henry Lie - How does SvelteKit Fare as a SPA Framework?

  Рет қаралды 2,184

Svelte Society

Svelte Society

Күн бұрын

Пікірлер: 12
@mdriaz5334
@mdriaz5334 2 ай бұрын
wow, I didn't many of them, the video maybe old, but it is great, hope to see more of them for upcomming svelte 5 releases also
@Rhysling2
@Rhysling2 11 ай бұрын
Excellent overview. Thank you.
@charlieroosen
@charlieroosen 11 ай бұрын
Great presentation. Thanks for sharing it.
@phoneywheeze
@phoneywheeze 11 ай бұрын
cant you declare a hooks.client.js file?
@zBrain0
@zBrain0 11 ай бұрын
The only problem with sveltekit is its router. It's great for small projects and I've used it for a few. It's great for something like a UI Library. But if you're writing something complicated having all of your files named the same thing becomes a nightmare very quickly. I really wish they would create an option for a declarative router within kit.
@SvelteSociety
@SvelteSociety 11 ай бұрын
There are solutions to this. If you're using VSCode you can change the way things are displayed in the tabs for example. When searching for files you should be able to just search for the route name to get all the specific files for that route as well.
@zBrain0
@zBrain0 11 ай бұрын
@SvelteSociety I have tried several things. At some point if you are writing a complicated app the routing just simply becomes a nightmare. For simpler projects it's a really good tool, I recently wrote a pwa using it and had a really good experience. But for some things a declarative router is just objectively better.
@deepjyotideb1173
@deepjyotideb1173 11 ай бұрын
@@zBrain0 nextjs also follows a similar pattern tho? Would that make it a bad choice for building complex apps?
@zBrain0
@zBrain0 11 ай бұрын
@@deepjyotideb1173 in my opinion yes. I have a control panel app that has literally hundreds of endpoints. Some of them are quite deeply nested. At some point it just becomes a gigantic bowl of spaghetti. I'm sure people have done it, but that doesn't mean it's a good idea.
@fscoders
@fscoders 11 ай бұрын
​@@zBrain0 What i did is I make the +page.svelte just a wrapper. It will just import the component, Such as products/+page.svelte will import products/Products.svelte. So when editing or searching, i will just use Products.svelte
How To Make A SPA With SvelteKit (SSR vs. CSR)
20:54
Joy of Code
Рет қаралды 18 М.
Global Stores Are Dangerous
11:48
Huntabyte
Рет қаралды 17 М.
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 16 МЛН
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 2,6 МЛН
Local First Svelte, by Scott Tolinski  - Svelte Summit Fall 2024
25:47
Svelte Society
Рет қаралды 1,8 М.
Protect SvelteKit Routes with Hooks
21:10
Huntabyte
Рет қаралды 59 М.
Svelte 5 Snippets: Revolutionizing UI Composition | Snippets Vs Slots
12:09
Fullstack Ninja Academy
Рет қаралды 1,4 М.
Understand How Data Flows Through SvelteKit
25:59
Joy of Code
Рет қаралды 19 М.
How React Query Won
34:52
Theo - t3․gg
Рет қаралды 84 М.
Rich Harris - SvelteSnaps
23:19
Svelte Society
Рет қаралды 21 М.
How Svelte Stores Make State Management Easy
32:41
Joy of Code
Рет қаралды 21 М.
I Benchmarked EVERY Framework So You Don't Have To
29:57
Theo - t3․gg
Рет қаралды 110 М.