react-router-redux icon indicating copy to clipboard operation
react-router-redux copied to clipboard

Deprecation warning when using browserHistory

Open ochowie opened this issue 10 years ago • 1 comments

When I try to run the example listed in the repo I get the following warning:

Warning: Automatically setting basename using <base href> is deprecated and will be removed in the next major release. The semantics of <base href>are subtly different from basename. Please pass the basename explicitly in the options to createHistory.

This is using react-redux-router 4.0.4 and react-router 2.3.0. I've tried passing basename in a few places but I'm not sure how to pass this down to the createHistory call.

ochowie avatar Apr 27 '16 01:04 ochowie

Please don't cross-post issues. Especially when they are duplicates: reactjs/react-router#3390

timdorr avatar Apr 27 '16 18:04 timdorr