@knyt/clerk
v0.4.0
Published
A lightweight, observable state management library with built-in utilities for actions, reducers, and selectors.
Maintainers
Readme
🗃️ Lightweight, observable state management. Supports async flows with built-in utilities for actions, reducers, and selectors.
This package is part of Knyt, a toolkit designed to simplify modern web development.
Key Features
- Observability: Stores are both observables and observers, supporting reactive state management for full state, selections, and dispatched actions.
- Batteries-included: Provides built-in utilities for reducers, action creators, selectors, and debug logging.
- Extensibility: Class-based but composition-friendly, supporting both inheritance and wrapper patterns for customization.
- Async-ready: Native support for dispatched async functions (thunks) and exposes actions as an observable stream (
action$). - Familiar API: Follows Flux Standard Action (FSA) for easy adoption by Flux/Redux developers.
Documentation
Documentation is available at knyt.dev, including a guide on state management.
Usage
Install
You can use this package by installing either the Knyt Toolkit or this standalone package.
Knyt Toolkit:
npm install knytStandalone:
npm install @knyt/clerkUpdates
See the CHANGELOG for a list of changes.
License
This package is licensed under the BSD 3-Clause License.
Open-Source Initiative
This project is supported by Sables Applications LLC as part of its open-source initiatives.
