mrnareshkumar / -clock-app-using-schedulers-with-hooks Goto Github PK
View Code? Open in Web Editor NEWWhen a component is unmounted, the scheduled interval should be cleared to avoid unnecessary problems To clear the scheduled interval when the component unmounts, call clearInterval() in the Cleanup function
Home Page: https://schedulersnk.ccbp.tech