fahad19 / proppy

Functional props composition for UI components (React.js & Vue.js)
https://proppyjs.com
MIT License
939 stars 27 forks source link

Support function version of mapDispatch at proppy-redux withStore #18

Open Vargentum opened 6 years ago

Vargentum commented 6 years ago

In original connect from react-redux, you can pass a function as a mapDispatch, which accepts dispatch and own component props. Here the full description

Do you plan to add this feature?

P.S. proppy-redux npm page points to package. So I created issue in this scope.

fahad19 commented 6 years ago

Programmatically it should be possible. I won’t be able to get back to it until next week when I’m back from holidays.

If you can send a PR to push things forward, that would be awesome :D

The local development guide of this monorepo can be found in MAINTAINERS.md file in root.