Skip to content
Advertisement

updating state with new state in redux

i want to make a request to my php page to retrieve data until the page is loaded. i made this request with axios’ this request is successful “. i want to change state in store “the state tank is successful but the change is no”. I found an error: TypeError: Cannot read property ‘props’ of undefined, at ‘componentDidMount handle succes’ level.

JavaScript

JavaScript

Advertisement

Answer

JavaScript

See This.

React – TypeError: Cannot read property ‘props’ of undefined

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement