npm install react-timer-mixin Example varReact=require('react'); varTimerMixin=require('react-timer-mixin'); varComponent=React.createClass({ mixins:[TimerMixin], componentDidMount(){ this.setTimeout( ()=>{console.log('I do not leak!');}, ...
npm http GET https://registry.npmjs.org/react-native npm http 304 https://registry.npmjs.org/react-native npm http GET https://registry.npmjs.org/react-timer-mixin npm http GET https://registry.npmjs.org/connect/2.8.3 npm http GET https://registry.npmjs.org/jstransform/10.0.1 npm ...
TimerMixin provides timer functions for executing code in the future that are safely cleaned up when the component unmounts - Actions · reactjs/react-timer-mixin