{"repo":"bcherny/undux","free":true,"listed":false,"github":"https://github.com/bcherny/undux","clone":"git clone https://github.com/bcherny/undux.git","description":"⚡️ Dead simple state for React. Now with Hooks support.","language":"TypeScript","stars":1558,"topics":["redux","typescript","typesafe","flux","react"],"license":"MIT","category":"ui-components","readme_excerpt":"[![Build Status][build]](https://github.com/bcherny/undux/actions?query=branch%3Amaster+workflow%3ACI) [![npm]](https://www.npmjs.com/package/undux) [![mit]](https://opensource.org/licenses/MIT) [![ts]](https://www.typescriptlang.org/) [![flow]](https://flow.org/) [build]: https://img.shields.io/github/actions/workflow/status/bcherny/undux/ci.yml?style=flat-square [npm]: https://img.shields.io/npm/v/undux.svg?style=flat-square [mit]: https://img.shields.io/npm/l/undux.svg?style=flat-square [ts]: https://img.shields.io/badge/TypeScript-%E2%9C%93-007ACC.svg?style=flat-square [flow]: https://img.shields.io/badge/Flow-%E2%9C%93-007ACC.svg?style=flat-square Dead simple state management for React --- 📖 Official docs: https://undux.org --- Install Install (with RxJS v4-) Design Goals 1. Complete type-safety, no exceptions 2. Super easy to use: forget actions, reducers, dispatchers, containers, etc. 3. Familiar abstractions: just get and set Read more here Use 1. Create a store Be sure to define a key for each value in your model, even if the value is initially undefined . 2. Connect your React components With React Hooks: useStore Without React Hooks: withStore 3. Put your app in an Undux Container That's all there is to it. Open this code in playground. Features Effects Though Undux automatically re-renders your connected React components for you when the store updates, it also lets you subscribe to changes to specific fields on your store. Undux subscriptions are full Rx observab","default_branch":null,"files":null,"tree":[],"storefront":"/r/bcherny","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bcherny/undux/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}