React Redux-thunk Component Doesn't Render This.props
I'm new to react and I'm trying to understand on to make async ajax request. I was able to get the request completed and the data returned added to my state, but I can't render the
Solution 1:
Could you check, do you have this.renderUsers()
defined in that render function? It might be you forgot to bind it, and that function is undefined
?
Try to add this.renderUsers = this.renderUsers.bind(this);
in your constructor and see, if it helps.
Post a Comment for "React Redux-thunk Component Doesn't Render This.props"