Passing null or undefined for mapStateToProps does the wrong behavior
Closed this issue · 1 comments
stonebk commented
From react-redux connect
:
https://github.com/reactjs/react-redux/blob/master/docs/api.md#arguments
If you don't want to subscribe to store updates, pass null or undefined in place of mapStateToProps.
I would expect that we could do the same for connectWithInputs
and I would not receive any additional props to the component.
stonebk commented
Workaround is to use () => {}
instead.