joshnuss / svelte-persisted-store

A Svelte store that persists to localStorage
MIT License
994 stars 41 forks source link

feat: Add reset method to persisted store #265

Closed intercepted16 closed 3 months ago

intercepted16 commented 3 months ago

Implemented the reset method for the persisted store as described in issue #263. This method discards all changes and resets both the store and the localStorage value to the initialValue provided.

Key changes include:

joshnuss commented 3 months ago

Thanks @intercepted16!!

github-actions[bot] commented 3 months ago

:tada: This PR is included in version 0.11.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: