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.
zip
reactive-state-master.zip 预估大小:37个文件
folder
reactive-state-master 文件夹
file
.travis.yml 219B
file
package.json 3KB
folder
test 文件夹
file
test_reducer.ts 5KB
file
test_example.ts 4KB
file
test_action.ts 2KB
file
test_select.ts 7KB
file
test.ts 391B
file
test_destroy.ts 3KB
file
test_react_connect.tsx 11KB
file
test_devtool.ts 5KB
file
test_react_storeprovider.tsx 14KB
file
test_enzyme_helper.tsx 953B
file
tsconfig.json 476B
file
test_initial_state.ts 11KB
file
test_stringbased_action_dispatch.ts 5KB
file
test_common_types.ts 329B
file
test_slicing.ts 10KB
file
.prettierrc 91B
file
.prettierignore 39B
file
LICENSE 1KB
folder
src 文件夹
file
store.ts 15KB
file
shallowEqual.ts 2KB
file
types.ts 1KB
file
devtool.ts 4KB
file
example.ts 3KB
file
index.ts 206B
file
tsconfig.json 515B
file
.gitignore 800B
file
webpack.config.js 995B
file
CHANGELOG.md 5KB
file
README.md 4KB
file
yarn.lock 149KB
folder
react 文件夹
file
index.tsx 481B
file
actions.tsx 2KB
file
provider.tsx 6KB
file
state.tsx 3KB
file
connect.tsx 6KB
zip 文件大小:105.09KB