@lomray/react-mobx-manager
v4.3.0
Published
This package provides Mobx stores manager for react.
Downloads
1,462
Maintainers
Readme
React MobX Manager
Clean React components. Encapsulated business logic. No state-tree pain.
It is built for apps that want explicit store ownership, SSR support, persistence, lifecycle cleanup and development tooling without forcing everything into one global state tree.
Why use it
- One way to escape state tree 🌲🌳🌴.
- Ready to use with Suspense.
- Support SSR.
- Support render to stream.
- Relative stores for component-owned state
- Parent stores for subtree reuse
- Global stores for app-wide state
- Small package size.
- Support code splitting out of the box.
- Access stores from other stores.
- Can be a replacement for react context.
- Persistence support
- Vite plugin support
- Best-effort HMR
- And many other nice things 😎
Install
npm i @lomray/react-mobx-manager @lomray/consistent-suspenseDocumentation
Full documentation lives in here
License
Made with 💚
Published under MIT License.
