Carsten-Leue/ReduxPY

Needs usage example

thefrisson opened this issue · 2 comments

@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.

@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.

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.