1.0.0 • Published 9 months ago
@nanostores/persistent v1.0.0
Nano Stores Persistent
A smart store for Nano Stores state manager to keep data in localStorage
and synchronize changes between browser tabs.
- Small. from 281 bytes (minified and brotlied). Zero dependencies. It uses Size Limit to control size.
- It has good TypeScript.
- Framework agnostic. It supports SSR.
localStoragecan be switched to another storage.
import { persistentAtom } from '@nanostores/persistent'
export const locale = persistentAtom('locale', 'en')Made at Evil Martians, product consulting for developer tools.
Docs
Read full docs here.
1.0.0
9 months ago
0.10.2
1 year ago
0.10.1
2 years ago
0.10.0
2 years ago
0.9.1
3 years ago
0.9.0
3 years ago
0.8.0
3 years ago
0.6.2
3 years ago
0.7.0
3 years ago
0.6.1
3 years ago
0.6.0
3 years ago
0.5.3
4 years ago
0.5.2
4 years ago
0.5.1
4 years ago
0.5.0
4 years ago
0.4.1
4 years ago
0.4.0
4 years ago
0.3.3
4 years ago
0.3.2
4 years ago
0.3.1
4 years ago
0.3.0
4 years ago
0.2.1
4 years ago
0.2.0
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago