react-native-counters
react-native-counters copied to clipboard
when the state change it is not changing the child component
please add the following method into your class to update this component when parent states get changed.
static getDerivedStateFromProps(nextProps) {
return { count: nextProps.start }
}
Thanks