https://github.com/redom/redom-store
Immutable keypath store for RE:DOM
https://github.com/redom/redom-store
Last synced: about 1 year ago
JSON representation
Immutable keypath store for RE:DOM
- Host: GitHub
- URL: https://github.com/redom/redom-store
- Owner: redom
- Created: 2017-07-06T08:54:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T10:10:26.000Z (over 3 years ago)
- Last Synced: 2024-05-01T17:33:10.637Z (about 2 years ago)
- Language: JavaScript
- Size: 104 KB
- Stars: 8
- Watchers: 6
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RE:DOM store
Immutable keypath store for RE:DOM
## Installing
```
npm i @redom/store
```
## Usage
```js
import Store from '@redom/store';
const store = new Store();
store.set('a.b.c', 'Hello RE:DOM store!');
console.log(store.get('a.b.c'));
```