redux-observable-promise is a plugin for redux-observable. It allows to return a promise after an action as been dispatch, and resolve/reject the promise depending of others action. It can be use for redux-form
Hi, I'm trying to setup my project with your plugin following your example but not sure about how to call the loginRequest promise in a component after creating it with promiseActionCreator.
I tried calling it rightaway like this: loginRequest(data).then(p => {...}) but an error occured:
"TypeError: dispatch is not a function"
Can you specify more about how to use it in a component after creating the promise?