Post

We want people to be able to share the settings for our games and tools, or save their own settings. To account for all the options, we have two ways of initializing state using Sveltekit features: shared URL and Local Storage stores. If people have a better way to do this, let me know!

Argh, typos. I do wish Bluesky had an edit option. I meant... For shared URLs, we encode the settings and then read them in Sveltekit's load function for the page

0 reposts0 likes

No replies yet.