SvelteKit | persist state without a db | initialize state no db |localStorage hacky workaround

Опубликовано: 27 Март 2026
на канале: Consulting Ninja
2,047
55

Came across a need at work to hack something together a way to store some data in between refreshes without a db. Thought this solution might come in handy to others. Check this out and let me know you thoughts. I hope you find this helpful!

My channel membership is live check it out here!:
   / @consultingninja  

Membership perk video:
   • I launched a chatbot with my channel membe...  

Need help? visit https://www.consultingninja.tech
Check out my channel ‪@ConsultingNinja‬ for more videos like these.

SvelteKit Docs:
https://kit.svelte.dev/docs/introduction

SvelteKit Sandbox:
https://learn.svelte.dev/tutorial/wel...