Carsten-Leue / ReduxPY

Implementation of a Redux store with support for adding feature modules, dynamically. The store exposes a reactive API based on RxPY.
https://reduxpy.readthedocs.io/en/latest/
MIT License
14 stars 5 forks source link

Needs usage example #1

Open thefrisson opened 4 years ago

thefrisson commented 4 years ago

@CarstenLeue @Carsten-Leue There is hardly any code on the readme to guide users on usage of this library. There are caveats between redux.js and this port, so it would be helpful to embellish on usage. A simple ToDo App would work just fine.

Carsten-Leue commented 4 years ago

@thefrisson I have now added samples as part of the testcases, e.g. https://github.com/Carsten-Leue/ReduxPY/tree/master/tests/todos and https://github.com/Carsten-Leue/ReduxPY/tree/master/tests/counter.

These replicate the examples from reduxjs in https://github.com/reduxjs/redux/tree/master/examples/todos and https://github.com/reduxjs/redux/tree/master/examples/counter.

Examples for efficient use of epics are still to come. Let me know what example you'd like to see.

Vorakor commented 3 years ago

Documentation is entirely insufficient and examples are incomplete. I would like to see and figure out how to implement effects (epics) and selectors and how all of those tie into the system? Can you either put together better documentation or add more tests that implement all of those? I need to see how all the reducers, selectors, actions, effects (epics), and features all are implemented and how to put all that into the root store.