bonsify
v0.7.0
Published
Patterns for well-structured, artfully maintained components and state management.
Downloads
1,005
Maintainers
Readme
Bonsify
Single reactive primitive for performant state management in React
State management is most performant when you use a mutable reactive primitive external to components and the reconciler. Bonsify provides a single reactive primitive of reactive
. Combine this with the patterns introduced in the following sections, and you can scale your application to any size without performance issues.
- Constructor
- Protected State
- State Tree
- Component State Contract
- Explicit States
- Data Fetching
- Promises
- Environment Dependencies
- Multiple UX
Get Started
npm install bonsify
Automatic observation in components using observing-components.
import babelPlugin from "bonsify/babel-plugin";
import swcPlugin from "bonsify/swc-plugin";