@ersbeth/picoflow
v1.1.2
Published
Minimal Dataflow librairy for TypeScript
Readme
Picoflow
Picoflow is a lightweight reactive dataflow library that provides fine-grained reactive primitives. It gives you an intuitive API for signals, state, (asynchronous) derivations, effects, and reactive maps/arrays. Picoflow uses an explicit tracking context to automatically track reactive dependencies.
Upgrading from v0.x? See the Upgrade Guide for migration instructions.
Installation
# npm
npm install @ersbeth/picoflow
# pnpm
pnpm add @ersbeth/picoflow
# yarn
yarn add @ersbeth/picoflowDocumentation
For comprehensive guides and API documentation, visit the official website
License
This project is licensed under the MIT License.
TODO
- [x] implement refresh on derivations
- [x] add tests for refresh
- [x] improve tests for array / maps
- [x] use same API for array and maps
- [x] use async API for array updates
- [x] manage unified disposal in collections
- [ ] fix tests
- [ ] implement sets
- [x] implement await nodes
- [ ] add tests for await nodes
- [ ] add tests for raw nodes
- [ ] replace resources by await nodes
- [ ] think about streams
