3 ms·
Thunk, saga (as far as I know), etc have you put the code in an action [creator].
by skinnymuch 7y ago
Thunk, saga (as far as I know), etc have you put the code in an action [creator].
- fiddlerwoaroof 7y agoNo, usually with sagas, your action creator stays synchronous and you yield your actions from a generator function that contains all the asynchronous bits. It’s a beautiful system that brings a lot of the benefits of a Free-monad style effect system.