Friday 29 June 2018

[HELP] Cannot read property '...' of undefined

Hi!My application is being built with the MERN stack and I am using Redux, however, there's a problem: I cannot add an object to the database. In Redux action the object can be successfully printed, however, in the API call, the req is undefined.ModelAction, here console.log(cpuData) successfully prints the correct object.ReducerAPI

Submitted June 29, 2018 at 12:29PM by Just42s

No comments:

Post a Comment