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.