Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

sudetenwaltz

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.

Install

npm i sudetenwaltz

DownloadsWeekly Downloads

1

Version

5.3.0

License

MIT

Unpacked Size

19.5 kB

Total Files

10

Last publish

Collaborators

  • avatar