How to use SvelteKit endpoints! Part 2/3 - JavaScript disabled (no JS)
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.
š¤Æ Support
ā±ļø Timestamps:
š Newsletter:
šŖElsewhere:
šConcepts:
šResources:
š¬ Subscribe!
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.
š¤Æ Support
- https://www.patreon.com/davidwparker
- https://www.buymeacoffee.com/davidwparker
ā±ļø 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: https://twitter.com/davidwparker
- Twitter: https://twitter.com/programmingtil
- GitHub: https://github.com/davidwparker
šConcepts:
- Progressive Enhancement
- SvelteKit without JavaScript
šResources:
- https://github.com/davidwparker/programmingtil-svelte/tree/ep22
- https://kit.svelte.dev/docs#routing-endpoints
š¬ 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
Ā© programmingtil.com