redux-zero / redux-zero

A lightweight state container based on Redux

Home Page:https://matheusml1.gitbooks.io/redux-zero-docs/content/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add useActions hook for react

makinde opened this issue · 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.

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

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.