The this.state.intervals of app.js is going through mutations.
When the user is editing the timer and when it's counting down, the interval being changed is actually mutated while a reference to it through this.state exists. So this.state can see the mutation. We need a deep copy of intervals when updating/counting the time
The
this.state.intervalsof app.js is going through mutations.When the user is editing the timer and when it's counting down, the interval being changed is actually mutated while a reference to it through this.state exists. So this.state can see the mutation. We need a deep copy of intervals when updating/counting the time