How to use SvelteKit endpoints! Part 2/3 - JavaScript disabled (no JS)

preview_player
Показать описание
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

⏱️ 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:

🪐Elsewhere:

💭Concepts:
* Progressive Enhancement
* SvelteKit without JavaScript

📚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.

#svelte #sveltekit
Рекомендации по теме
welcome to shbcf.ru