-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
Description
Hi,
Changing the seconds prop with setState causes the component to re-render over existing drawing.
As soon as the timer ticks, the render looks as it should, so it's not a big problem unless the timer is paused. Then it ends up looking like in the attached screenshots.
Thanks.
Before changing seconds props:

This is the component:
and this is the parent state:
this.state={
sessionMinutes: 8,
pause: true
};
