Simple implementation of time with and without custom useInterval hook.
Usage for both the components is same.
<TimerWithHook duration={10}/>
<Timer duration={10}/>
Note: This project was bootstrapped with Create React App.
Simple implementation of time with and without custom useInterval hook.
Usage for both the components is same.
<TimerWithHook duration={10}/>
<Timer duration={10}/>
Note: This project was bootstrapped with Create React App.