React State: Type-Safe Redux Alternative with RxJS Integration
React State is a type-safe, RxJS-powered state container designed as an alternative to Redux in TypeScript. Inspired by a blog post, it has evolved significantly with features like type-safe operations, no boilerplate code, and no mandatory string constants. Actions are observable and can be dispatched simply by calling `.next()`. It supports dynamic addition and removal of reducers at runtime without needing async middleware like redux-thunk/redux-saga. Operations can be asynchronously combined and transformed using RxJS operators, all without requiring MobX or Reselect.
reactive-state-master.zip
预估大小:37个文件
reactive-state-master
文件夹
.travis.yml
219B
package.json
3KB
test
文件夹
test_reducer.ts
5KB
test_example.ts
4KB
test_action.ts
2KB
test_select.ts
7KB
test.ts
391B
test_destroy.ts
3KB
105.09KB
文件大小:
评论区