Passionate about building great technology and connecting with people to create positive change. Happy to answer questions about transitioning to tech. Find me on Twitter @lounecl
this was such a life saver! Do you mind explaining why this.props.history.push("/home") might result in undefined but this would work?
I think it has something to do with this line--With its help, you can pass the whole history object to your component as properties.-- but am not 100% sure.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
this was such a life saver! Do you mind explaining why
this.props.history.push("/home")
might result in undefined but this would work?I think it has something to do with this line--With its help, you can pass the whole history object to your component as properties.-- but am not 100% sure.