In this second part of exploring SvelteKit endpoints, I show how you can use endpoints with cookies and getContext and getState in order to have your application work with and without JavaScript on.
(Yes, I know getContext is gone- we'll be upgrading our app soon!)
🤯 Support
/ davidwparker
https://www.buymeacoffee.com/davidwpa...
⏱️ Timestamps:
00:00 - Introduction
00:22 - Demo
01:45 - stores and hooks and layout changes
04:14 - Nav changes
05:05 - sign in changes
05:45 - index changes
07:15 - post form and post card changes
10:48 - sign in endpoint changes and cleanup
12:20 - post new and post edit new files
💌 Newsletter:
https://www.programmingtil.com/
🪐Elsewhere:
Twitter: / davidwparker
Twitter: / programmingtil
GitHub: https://github.com/davidwparker
💭Concepts:
Progressive Enhancement
SvelteKit without JavaScript
📚Resources:
https://github.com/davidwparker/progr...
https://kit.svelte.dev/docs#routing-e...
🎬 Subscribe!
http://bit.ly/subdavidwparker
My name is David W Parker and I’m creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. I’m a huge fan of Ruby on Rails, Svelte, TailwindCSS, and WebGL. I’ve used React a lot in the past, as well as some Vue and AngularJS. I’ve done some professional Python and Django. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.
#svelte #sveltekit