• Register

Recent questions tagged react-redux

0 votes
1 answer 6 views
Problem : Await is only valid in async function.
asked Jul 27 Isac Christiaan 103k points
0 votes
1 answer 5 views
Problem: Rallycoding.herokuapp/api/music_albums?
asked Jul 23 Nahil 128k points
0 votes
1 answer 11 views
Problem: Cannot read property 'type' of undefined?
asked Jul 19 Mezbah 130k points
0 votes
1 answer 7 views
Problem : Could not find store in either the context or props
asked Jun 28 Siam55 110k points
0 votes
1 answer 5 views
Problem: Someone help, please.Which of the following is not a component of store image?
asked Jun 24 Nahil 128k points
0 votes
1 answer 61 views
Problem: Is there somebody who can assist: You must pass a component to the function returned by connecting? instead received {}
asked Jun 13 Mezbah 130k points
0 votes
1 answer 48 views
Problem: Is there a way to fix this : Typeerror: middleware is not a function?
asked Jun 4 Rada Gracelynn 104k points
0 votes
1 answer 31 views
Problem: Please give me an answer to this : Cannot read property 'apply' of undefined.
asked Jun 2 Rada Gracelynn 104k points
0 votes
1 answer 15 views
Problem: Has anyone had this complication before : Expected to return a value in arrow function?
asked May 29 Yeamin 23.5k points
0 votes
1 answer 33 views
Problem: Anyone having similar problems like this : Invalid attempt to spread non-iterable instance?
asked May 25 Irenka Kiri 85.5k points
0 votes
1 answer 25 views
Problem: Where should I look for help with this issue : Metro bundler has encountered an internal error?
asked May 25 Florina Gulnar 106k points
0 votes
1 answer 16 views
Problem: Anyone having similar problems like this? : Redux: use middleware to handle asynchronous actions.
asked May 18 Irenka Kiri 85.5k points
0 votes
1 answer 88 views
Problem: I did read some questions but none of the answers solved it for me. Any ideas? : Typeerror: cannot read property 'apply' of undefined.
asked May 18 Irenka Kiri 85.5k points
0 votes
1 answer 162 views
Problem: Getting a error message saying Parsing error: Can not use keyword 'await' outside an async function from below code for Redux action. What is the proper way to write this?
asked May 16 Irenka Kiri 85.5k points
0 votes
1 answer 48 views
Problem: Any suggestions to fix this? > Expected to return a value at the end of arrow function.
asked May 11 Junia Phoebe 83.8k points
0 votes
1 answer 67 views
Problem: What did I wrong in my code that I got this message? > Field must be inside a component decorated with reduxform()
asked May 8 Irenka Kiri 85.5k points
0 votes
1 answer 83 views
Problem: Please provide me with a response to this >Uncaught typeerror: cannot read property 'type' of undefined.
asked May 7 Rada Gracelynn 104k points
0 votes
1 answer 287 views
Problem: I am getting above error while fetching some data from the API. Following is the code of the action creator where I am trying GET the data: import { FETCH_USER } from './types'; import axios from 'axios'; export const fetchUser = () => async dispatch ... payload: res }); }; Also when I am debugging in the code editor, console is giving me below error: SyntaxError: Unexpected token import
asked May 3 anika11 32.2k points
0 votes
1 answer 70 views
Problem: I am trying to call an api and I get the error "Unhandled promise rejection: Error: Request failed with status code 500". I dunno how did I get the error.I put the api call in componentDidMount. I am not sure whether the error comes from the redux ... no-cache","cache- control":"no-cache"},"_subscriptions": [],"responseURL":"https://smp.ums.edu.my/api/result/GetListOfKodSesiSem"}}}
asked May 3 anika11 32.2k points
0 votes
1 answer 33 views
Problem: Unhandled Rejection (Error): Actions must be plain objects. Use custom middleware for async actions. I wanted to add comments with every posts. So when fetch posts are run I want to call fetch comment API for all post. export function bindComments(postId) { return API.fetchComments(postId).then(comments => { return { type: BIND_COMMENTS, comments, postId } }) }How to achieve that?
asked May 1 anika11 32.2k points