https://github.com/axtk/immutable-store
An immutable storage for shared state
https://github.com/axtk/immutable-store
Last synced: over 1 year ago
JSON representation
An immutable storage for shared state
- Host: GitHub
- URL: https://github.com/axtk/immutable-store
- Owner: axtk
- Created: 2021-08-18T21:36:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-18T22:02:25.000Z (almost 5 years ago)
- Last Synced: 2025-03-05T09:45:52.812Z (over 1 year ago)
- Language: TypeScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/@axtk/immutable-store) [](https://github.com/axtk/immutable-store)   
# @axtk/immutable-store
_An immutable storage for shared state_
This package introduces the `ImmutableStore` class which is an extension to the `Store` class from the *[store](https://github.com/axtk/store)* package. `ImmutableStore` maintains an immutable internal state, while its API is identical to the [API](https://github.com/axtk/store#store-api) of the `Store` class.
Like the `Store` class, instances of the `ImmutableStore` class can be used as a storage for shared state in React applications.
## Also
- *[react-store](https://github.com/axtk/react-store)* provides a React hook for shared state management in React apps