Re:Redux – Not Dead Yet (2018)
by tracker1 on Thursday April 09, 2020 @02:02PM
(#22825389)
Oh, the results are handled by the reducer... it's not that far off.. expecting an event with a given shape, as opposed to a direct argument. Can even be split, one for the view specifically another for the more pure actioncreator... with the thunks+async function, it's easy to have a start, await api call and finish/error events dispatched.
[ Parent
| on HN ]
Re:Redux – Not Dead Yet (2018)
by vikingcaffiene on Thursday April 09, 2020 @02:38PM
(#22825757)
Yep! :) Sounds like you've thought it through and I see your point.