We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1edcccb commit 4dc14eaCopy full SHA for 4dc14ea
11_src/src/home.jsx
@@ -50,8 +50,7 @@
50
// 为了完成提取部分组建的 props 作为 state 的动作, (Ex: state.items[props.someID]).
51
// 组件的 props 也被作为参数提供。
52
// "mapStateToProps" 被期望返回所有你希望暴露给你的组件的 props, 通常通过一个对象常量 (object literal)返回。
53
-// 你可以在返回前修改取得的 state 值。
54
-// 下面是一些简单的 Connect 应用 (在定义组件之后)
+// 你可以在返回前修改取得的 state 值。下面是一些简单的 Connect 应用 (在定义组件之后)
55
56
import React from 'react'
57
import { connect } from 'react-redux'
0 commit comments