Svelte-Sirens / svelte-sirens

The website for the Svelte Sirens. Svelte Society for women, non-binary people, & allies!
https://sveltesirens.dev/
GNU General Public License v3.0
30 stars 8 forks source link

Persist bubble state through page change #76

Closed brittneypostma closed 1 year ago

brittneypostma commented 1 year ago

Currently if the bubble toggle is off, it will default back to on if a new route is hit. Persist the state so that it stays as the user selected.

ghostdevv commented 1 year ago

Could use svelte-local-storage-store or some similar local writable to achieve this