/Timer

Primary LanguageJavaScript

Website: https://react-timer-us.netlify.app/

Stack: React (using class components)

This project was written to explore the "component lifecycle" in React. To write the timer app, I used the componentDidMount() and componentWillUnMount() methods. I used the componrntDidMount() method during the mounting stage. To write a timer, the componrntWillUnMount() method must be used to stop the timer, at the last phase of the life cycle, called unmounting.

timer