A Guide For Building A React Redux CRUD App
rajaraodv
2.7K45

Thanks for the detailed article. It was really helpful.

I need a small clarification in the code —

In the file `actions/posts.js`,

dispatch(fetchUser()).then((response) => { ...

`dispatch` should return a promise. But for me it returns an object.

{
payload: Promise,
type: FETCH_USER
}

Did you use any middleware to convert the dispatch response into a Promise ?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.