React-router: You should not use <Route> or withRouter() outside a <Router>

Created on 3 Jul 2018  路  1Comment  路  Source: ReactTraining/react-router

Hi Team,

I'm facing below issue in react-router-dom.

"You should not use or withRouter() outside a "

I'm using following dependencies.
"react": "^16.4.0",
"redux": "4.0.0",
"react-dom": "16.4.1",
"react-redux": "5.0.7",
"react-router-dom": "^4.4.0-alpha.1",
"react-router-redux": "5.0.0-alpha.6",

Also see attached screen-grab.

Thanks,
BSR
error

>All comments

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicolashery picture nicolashery  路  3Comments

stnwk picture stnwk  路  3Comments

ryansobol picture ryansobol  路  3Comments

misterwilliam picture misterwilliam  路  3Comments

winkler1 picture winkler1  路  3Comments