question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’m seeing @@redux-form-saga/PROMISE, but it’s never calling my registered ‘FORM_REQUEST’ saga. The code I’m using is below.

https://gist.github.com/cj/011caad7dd167269ead9065e8a36ccae

Any help getting it working would be greatly appreciated!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
afitiskincommented, Sep 5, 2017

I prefer to run formActionSaga directly using sagaMiddleware.run as it stated in Preparation section of the README:

import formActionSaga from 'redux-form-saga'; // imprort
const sagaMiddleware = createSagaMiddleware();

const finalCreateStore = compose(
  applyMiddleware(sagaMiddleware),
  reduxReactRouter({ createHistory }),
  window.devToolsExtension ? window.devToolsExtension() : f => f
)(createStore);

const store = finalCreateStore(reducer);
const sagas = [
  formActionSaga, // prepare
  rootSaga,
];
sagas.forEach((saga) => sagaMiddleware.run(saga)); // run

export default store;
0reactions
jontelmcommented, Sep 5, 2017

@afitiskin Thanks, works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

The best way to manage your form state in Redux.
redux -form works with React Redux to enable an html form in React to use Redux to store all of its state. Installation....
Read more >
redux-form - npm
A higher order component decorator for forms using Redux and React. ... Start using redux-form in your project by running `npm i ......
Read more >
redux-form - npm.io
redux -form works with React Redux to enable an html form in React to use Redux to store all of its state. Psst!!...
Read more >
redux-form versions and peer dependencies
redux -form versions and peer dependencies. The table below has a list of all versions of redux-form with compatible (peer) dependencies. ... 6.0.1...
Read more >
REDUX-FORM 6.0.0-rc.5 CDN links - CDNPKG .com
REDUX -FORM 6.0.0-rc.5 CDNs ; Description, A higher order component decorator for forms using Redux and React ; Website, http://redux-form.com ; Sources URL,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found