Updated example
Updated example

- setting the state of a child component from parent is an anti pattern
- prefer passing parent state to the child props an then deal with child state update from parent one

vramana/react-flex-slick