![Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. · Issue #5428 · remix-run/react-router · GitHub Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. · Issue #5428 · remix-run/react-router · GitHub](https://user-images.githubusercontent.com/12945325/29207478-d9abba7c-7eb8-11e7-83d7-debb630929df.png)
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. · Issue #5428 · remix-run/react-router · GitHub
![A Little History on useHistory.. useHistory is a react hook that can do… | by Lorenzo Sorrells | Medium A Little History on useHistory.. useHistory is a react hook that can do… | by Lorenzo Sorrells | Medium](https://miro.medium.com/v2/resize:fit:612/1*90SyjBMDnamsvCPiPRdivQ.png)
A Little History on useHistory.. useHistory is a react hook that can do… | by Lorenzo Sorrells | Medium
![javascript - How do i pass a function with props.history(path, state) in react router v4 - Stack Overflow javascript - How do i pass a function with props.history(path, state) in react router v4 - Stack Overflow](https://i.stack.imgur.com/E4WHA.png)