sudetenwaltz
TypeScript icon, indicating that this package has built-in type declarations

5.3.0 • Public • Published

Sudetenwaltz

A state-management library based on RxJS and similar to Redux but with the concept of effects inspired by Elm.

Effects and epics

A LoopReducer in Sudetenwaltz is a bit more complicated than a Reducer in Redux. LoopReducer returns a tuple, where the first element is a next state and the second is a side effect. someEffect is an object of a class that extends Effect class.

return [nextState, someEffect];

All effects are then passed to the epics which execute non-pure functions. Epic is the third argument to the createStore function.

Package Sidebar

Install

npm i sudetenwaltz

Weekly Downloads

1

Version

5.3.0

License

MIT

Unpacked Size

19.5 kB

Total Files

10

Last publish

Collaborators

  • kosmogradsky