How to create a generic list as a reducer and component enhancer? #822
Closed
Description
Hello. What would be a good way to extend the counter example to a dynamic list of independent counters?
By dynamic I mean that in the UI at the end of the list of counters there would be +
and -
buttons for adding a new counter to the list or removing the last one.
Ideally the counter reducer and component would stay as they are. How would one create a generalized list store+component to collect any kind of entities? Would it be possible to generalize the list store+component even further to take both counters and todo-items from the todomvc-example?
It would be great to have something like this in the examples.
Activity