malinantonsson

Results 9 comments of malinantonsson

Haha I have the same issue. Thought I was going crazy.

@Zachweiss10 downgrading three to `0.109.0` worked for me.

@Zachweiss10 I would leave it open - if anything it would be good to mention it in the readme or something :)

Hi, you can create a ref for the timer and then use `getTime()` like this: `timerRef.current.getTime()` hope that helps!

Hey, You can create a ref on the parent container `const timerRef = useRef(null);` ``` ``` You'll then have access to all the functions, ie `timerRef.current.pause();`

@tigersze ok, so you would do something like this: ``` import React, { useRef } from "react"; import ReactTimer from "react-compound-timer"; function YourComponent() { const timerRef = useRef(null); const onStop...

@tigersze yes, it should be `start` (see the main docs for this library for all the functions). In your case, you'd probably have to set the ref in the parent...

@tigersze I'm not sure I can help you with this, but if you set up a code pen or something I can take a look. But basically you need to...

@tigersze I had a look and I don't think I can help you with this, sorry, I've never used drizzle. I would try to ask the question in the repo...