How to access history object in new React Router v4?

Posted by Jessica Taylor | Updated on

Want to access history object in new React Router v4? Looks to me like you might be missing a withRouter connection. this would make the history props available to this component.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers