随笔分类 -  react

摘要:Provider utils.js 阅读全文
posted @ 2018-09-22 18:02 raindi 阅读(591) 评论(0) 推荐(0) 编辑
摘要:原理:基于发布与订阅的模式 阅读全文
posted @ 2018-09-22 14:35 raindi 阅读(180) 评论(0) 推荐(0) 编辑
摘要:只有当count等于5时,视图上才会更新数据 阅读全文
posted @ 2018-09-22 14:09 raindi 阅读(2061) 评论(0) 推荐(1) 编辑
摘要:``` import React from 'react' import {connect} from 'react-redux' import { Redirect} from 'react-router-dom' import axios from 'axios' import {login} from './Auth.redux.js' //两个reducers 每个reducers都有一... 阅读全文
posted @ 2018-09-07 23:02 raindi 阅读(10441) 评论(0) 推荐(2) 编辑

点击右上角即可分享
微信分享提示