Michael J. Ryan
1 min readNov 15, 2019

--

I go a half a step further, and make my default export on my actions.js file by exporting a useActions function that abstracts the dispatch binding…

Though, I should do a major revision, because the dependencies is about useless for the actions references, should just memoize against actions object directly.

--

--

Michael J. Ryan
Michael J. Ryan

Written by Michael J. Ryan

Food nerd (keto, omad, carnivore) — Programmer and JavaScript junkie! (node.js, mongodb, browser)

Responses (2)