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