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 0d9325e commit 1ab1596Copy full SHA for 1ab1596
docs/api.md
@@ -102,9 +102,10 @@ function mapStateToProps(state) {
102
```js
103
const mapStateToProps = (state, ownProps = {}) => {
104
console.log(state); // state
105
- console.log(ownProps); // undefined
+ console.log(ownProps); // {}
106
}
107
```
108
+
109
Functions with no mandatory parameters or two parameters **will receive** `ownProps`.
110
111
const mapStateToProps = (state, ownProps) => {
0 commit comments