https://github.com/dzek69/react-source-of-truth
React state manager for hooks and classes. If react-redux and Zustand had a child that would be react-source-of-truth :)
https://github.com/dzek69/react-source-of-truth
javascript react react-native react-redux redux state state-management state-manager
Last synced: 3 months ago
JSON representation
React state manager for hooks and classes. If react-redux and Zustand had a child that would be react-source-of-truth :)
- Host: GitHub
- URL: https://github.com/dzek69/react-source-of-truth
- Owner: dzek69
- License: mit
- Created: 2019-06-26T17:27:29.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-19T05:04:59.000Z (almost 3 years ago)
- Last Synced: 2025-02-24T06:39:03.797Z (over 1 year ago)
- Topics: javascript, react, react-native, react-redux, redux, state, state-management, state-manager
- Language: TypeScript
- Homepage:
- Size: 892 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# react-source-of-truth
The simplest state manager for React apps. API ideas are based on `react-redux` but huge simplifications are applied.
## Features:
- simplicity - no actions, no reducers
- simplicity again - your state is just a plain javascript object
- performant - no "everywhere writable" state using Proxies or other hacks
- performant again - component will re-render only if something they care for changes
- developer friendly - full & painless TypeScript support
- compatible - both hooks & class based components support
- familiar - API is based on `react-redux` API
- convenient - easily update deep state while keeping immutability rule of React (thanks to awesome `immutable-assign`)
## Usage:
See: [Docs][docs]
## License:
MIT
[docs]: https://dzek69.github.io/react-source-of-truth/pages/Tutorials/BasicConcepts.html