Changing value

When the value property updates make sure the component updates its internal state
Or maybe its bad usage if you pass the same (modified) array via props again. Ok, don't worry about it