react native 如何实现定时提醒

新手上路,请多包涵

尝试用react native编写一个app 需要实现定时提醒 不知道该怎么实现

阅读 8.5k
2 个回答
var TimerMixin = require('react-timer-mixin');


module.exports = React.createClass({
    mixins: [TimerMixin],
    handdle: function() {
        this.setTimeout(() => {

        }, 2000);
    }
});
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题