Entropy
Entropy
> Do you need the value of intialTime to be dynamic when your component mounts? Exactly
Now I am using " Change props dynamically and use HOC" of this https://volkov97.github.io/react-compound-timer/ So I am wondering how to set intialTime when the component mounts. Thank you!
I used setTime in the constructor, but the timer does not update. When the timer starts, it continues from the time I set.
I just tried, but it doesn't work. This is my code: ` const withTimer = timerProps => WrappedComponent => wrappedComponentProps => ( {timerRenderProps => } ); class StepTimer extends Component...