Md Abu Bakkar Siddiqe Sajib

Results 5 comments of Md Abu Bakkar Siddiqe Sajib

thank you for your reply. I have also found this answer but now I want to know why this command behaves like this!

add variable to your function: ``` export default const variable = (posts = [], action) => { switch (action.type) { case FETCH_ALL: return action.payload; case UPDATE: return posts.map((post) => post._id...

on server side inside root **index.js** line no. 17 `const CONNECTION_URL = 'mongodb+srv://js_mastery:[email protected]/test';` You make sure you're using your own MongoDB **Connection URL String** or if you don't how to...

try this way `dispatch(createPost({ postData })` it will work. As you said **Actions must be plain objects.** So it was expecting an object. Just pass **postData** as an object using...

maybe your not using your own MongoDB key, Share your code so that others can help you.