Skip to content

Commit

Permalink
chore: Adds example of reset() to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
joshnuss committed Jun 2, 2024
1 parent 01c2e29 commit a532042
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import { preferences } from './stores'
preferences.subscribe(...) // subscribe to changes
preferences.update(...) // update value
preferences.set(...) // set value
preferences.reset() // reset to initial value
get(preferences) // read value
$preferences // read value with automatic subscription
```
Expand Down

0 comments on commit a532042

Please sign in to comment.