API reference › @evolu/common › Store
Observable state container with change notifications.
| Function | Description |
|---|
| createStore | Creates a store with the given initial state. The store encapsulates its state, which can be read with get and updated with set or update. All changes are broadcast to subscribers. |
| Interface | Description |
|---|
| ReadonlyStore | A read-only view of a Store that provides state access and change notifications without allowing modifications. |
| Store | A store for managing state with change notifications. Like a Ref with subscriptions. |