SolidJSS
SolidJSโ€ข3y agoโ€ข
9 replies
TripleSmile

Proper implementation of a timer/stopwatch

I am struggling to understand how to properly implement a timer in a reactive library/framework like SolidJS. What I want is 3 buttons:
- start
- reset
- stop
I need to represent time in
minutes| seconds | 100ms(1/10 of a second)

So, what would be a good way to implement a timer like this? Thank you!
Was this page helpful?