中文姓名

Results 6 comments of 中文姓名

我也是遇到了偶尔下拉刷新不复位的情况。 这个问题哪个版本解决了, 希望在这里回复下。 更新到解决的版本试试。

厉害, 有空闲的时候看看.

** 改动 代码 ** ,变成这个样子. `loading` 依然,没有加载出来啊. `P` 标签, > loading 没有展示出来. ``` case LOAD_ARTICLES: { return { ...state, loading: true, error: false, }; } case LOAD_ARTICLES_SUCCESS: { return {...

![image](https://cloud.githubusercontent.com/assets/9484734/23837220/d1c98f02-07bf-11e7-92e0-8f35bbc17c92.png) 没有 `loading` 肯 `error` 啊,大神.

``` @connect(state => { return { articleList: state.home.list.articleList, loading: state.home.list.loading, error: state.home.list.error, }; }, { push, ...actions, }) ``` 加上这两个就好了. ``` loading: state.home.list.loading, error: state.home.list.error, ```

https://facebook.github.io/react/blog/2015/09/02/new-react-developer-tools.html 为什么里面 动图, `show source` 直接就能跳出来, **es6** 的 react 源代码呢? 1. 安装 react develop tool` chrome 扩展 2. `package.config.js` 文件中 加入 `devtool: 'source-map'` 3. 在 chrome 浏览器中 调试 `react`文件, ....