-
Notifications
You must be signed in to change notification settings - Fork 163
TypeError: Unable to get property 'history' of undefined or null reference render #232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same here. |
no unfortunately. And this specific sub-project does not seem to be maintained. Instead I picked up the idea of using 'withRouter', that gives me access to history api, which means that I can push onto history stack when the user clicks the navigation item:
Then, you can use the NavItemWithoutRouter in place of NavItem. |
I am getting an error in LinkContainer (see below). Wanted to check if the react-router-bootstrap is compatible with 4.3.x series of react-router.
Thank you
import {
Route,
RouteHandler,
Link,
Switch,
Redirect } from 'react-router-dom';
The text was updated successfully, but these errors were encountered: