redux-zero icon indicating copy to clipboard operation
redux-zero copied to clipboard

Add useActions hook for react

Open makinde opened this issue 6 years ago • 2 comments

currently there's a hook for useAction (singular), but that doesn't support the format of actions provided in the doc. Those have to be sent through bindActions (plural). We need a corresponding useActions() hook.

makinde avatar Apr 10 '20 20:04 makinde

That's a great idea, @makinde! Would be willing to send this PR?

matheusml avatar Apr 10 '20 20:04 matheusml

I would, and briefly poked around...but the typing is above my head right now :( I know typescript basics, but can’t go that far into the deep end yet.

makinde avatar Apr 10 '20 22:04 makinde