Closed nguyenNCphpFox closed 2 years ago
interesting, the library should work fine with redux too, I am going to create an example in the examples project so that we can have a reference and make sure it always works.
Many thx
ok, I have created an example for Redux, and it works fine, https://github.com/fjmorant/react-native-nested-listview-examples/blob/master/ReduxExample.tsx, so it would be interesting to know if there un your code there is something else a useEffect
maybe??
A potential fix of this issue has been amended in version https://github.com/fjmorant/react-native-nested-listview/releases/tag/v0.11.5, please take a look
Describe the bug When I use data from redux get by useSelector and pass to data NestedListView App crash with issue: Error: Invariant failed: A state mutation was detected between dispatches, in the path 'photoBoxes.0.childs' To Reproduce Steps to reproduce the behavior:
const photoBoxes = useSelector(state => state.photoBoxes)
Screenshots