Pregunta de entrevista de Keysight Technologies

How do you design a clock or implement a stopwatch using react.