Options
All
  • Public
  • Public/Protected
  • All
Menu

react-source-of-truth - v4.0.0

react-source-of-truth

The simplest state manager for React apps. Ideas are based on react-redux but 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 TypeScript support
  • compatible - both hooks & class based components support
  • familiar - data management in class based components is based on well-known react-redux's connect
  • convenient - easily update deep state while keeping immutability rule of React (thanks to awesome immutable-assign)

Usage:

See: Docs

License:

MIT

Generated using TypeDoc