Sveltekit is an awesome way to build web apps, the only big pain point so far is the route naming convention when the app grows. Really wish I could just go for a route config file and map my screen to files. I much prefer the Rails and Laravel approach, use defaults to map to files but make it easy to switch to whatever works best for the project.
Very helpful, thanks. Just to understand better, where does server rendering happens? If I build a static site and have a load function on server page what sveltekit is using as "server"? Thanks!
Thanks, but then the content is static as it is prerendered in build time. So I guess for true server app with real time content I ill need to build with node adapter. Elad
Yes, you can put whatever you want in the lib folder and it will be available to import via $lib. So if you create `lib/components/Banner.svelte` you can import that component anywhere in your app with `import $lib/components/Banner.svelte`
Great content, svelte/kit should be the way to build the modern way
Literally covered all the main points without making it confusing. Great stuff.
Glad to hear it!
Absolutely fantastic intro to SvelteKit. Thank you much Geoff and This Dot Media
This was clear and effective in a whole new level. Thanks!
Sveltekit is an awesome way to build web apps, the only big pain point so far is the route naming convention when the app grows. Really wish I could just go for a route config file and map my screen to files. I much prefer the Rails and Laravel approach, use defaults to map to files but make it easy to switch to whatever works best for the project.
Great run through. Exactly what I was looking for
Good overview, very clear explanation, thank u guys
So good! Very well explained. Thank you so much.
Thank you! That preload thing got to me and now I wanna try SvelteKit even more
I don't know exactly what it is, but Geoff is a fascinating person to me.
Very helpful, thanks. Just to understand better, where does server rendering happens? If I build a static site and have a load function on server page what sveltekit is using as "server"?
Thanks!
at build time (prerendering) if you're using the static adapter.
Thanks, but then the content is static as it is prerendered in build time.
So I guess for true server app with real time content I ill need to build with node adapter.
Elad
Thanks, very helpful!
can we save components on lib folder ?
lib/compoenets/any compoenet.svelte
Yes, you can put whatever you want in the lib folder and it will be available to import via $lib. So if you create `lib/components/Banner.svelte` you can import that component anywhere in your app with `import $lib/components/Banner.svelte`
HI, guys have you got any idea how to do real time validation for inputs example email or password?
You could do some validation client side with on:change on your inputs and do stuff from there, but don't forget to also do validation server side.
see 57:55 for server side validation example
this dude looks so young. Talk about a way to make me feel old.
may i ask of how nuch rich rich is?
Nice video, learnt new things but where is the git link
Rich Harris, then Jeff Rich! I think I need to change my name....