reactjs / react-timer-mixin

TimerMixin provides timer functions for executing code in the future that are safely cleaned up when the component unmounts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supporting TimerMixin for class syntax'd React components

prashanth1509 opened this issue · comments

Right now mixins are not supported in react component that follow es6 class syntax.

Should we be writing a timermixin that can be extended by a react component with class syntax or can we use the current mixin as a base class?

#12 implements a HOC with the same behavior.