recompose
recompose copied to clipboard
How to multiply one stateless component so that each of the list has an independent state?
how to multiply one stateless component so that each component of the list has an independent state?
I have a stateless component using the recompose library The file is a container:
This file represents a view
When I click on one component to change the state of the second
How to multiply one stateless component so that each component of the list has an independent state? I have, when I click on one of the components, the state change in the second. How to clone this component, so that the clones have an independent state?
Both of ColumnPresentation should already had their own state. Except for there is something else wrong with your code.