Skip to content

postrockreverb/derived

Repository files navigation

Derived

Atomic state manager library inspired by simplicity of Jotai and Svelte stores.

Installation

yarn add @postrockreverb/derived

npm install @postrockreverb/derived

bun add @postrockreverb/derived

Entities

Store

Observable value with get, set, update and subscribe methods.

Derived

Derived observable value based on a getter function. It subscribes to stores and updates its value when any of the stores change.

Contributing

If you would like to contribute to the project, please fork the repository and submit a pull request with your changes.

Contact

If you have any questions or suggestions, feel free to reach out through GitHub Issues.