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
  • 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