Junior — Senior
React timer with start and stop
livecode
Task condition
Develop a React component that functions as a stopwatch. The interface should have two buttons — "Start" and "Stop". When "Start" is pressed, the timer begins counting, displaying the elapsed time, and when "Stop" is pressed, it stops and saves the current result. The component should correctly update the displayed time in real time.