gjendje 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# gjendje
|
|
4
4
|
|
|
5
|
-
**gjendje**
|
|
5
|
+
**gjendje** unifies state management across any storage backend.
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
8
8
|
|
|
@@ -13,11 +13,9 @@ import { state } from 'gjendje'
|
|
|
13
13
|
const theme = state('theme', {
|
|
14
14
|
default: 'light',
|
|
15
15
|
scope: 'local',
|
|
16
|
-
ssr: true // optional AsyncLocalStorage
|
|
17
16
|
})
|
|
18
17
|
|
|
19
18
|
theme.get()
|
|
20
|
-
theme.set('dark')
|
|
21
19
|
```
|
|
22
20
|
|
|
23
21
|
#### Storage Buckets API
|