https://github.com/sebinsua/redux-saga-helpers … <- I wrote a library for users of redux-saga. Should help with error handling.
-
-
This is what you wanted: const [ result, error ] = fn(payload)
-
This is what you got: dispatch(fnAction(payload)) // ... dispatch(fnActionSuccess(result)) dispatch(fnActionFail(error)) // Inject result.
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.