DEV Community

abdellah baybay
abdellah baybay

Posted on

Can't Get the Value from Promise to Reducer

Can't Get the Value from Promise to Reducer

1

I'm new to Promises and Async/Await ,i want to get an array of users from mongoDB, but when i get it, i receive it as a promise, and i want to use it in my reducer How can i do that. Here's my Code:

import {combineReducers} from 'redux'
import {stitchClient}

Top comments (0)