-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Closed
Description
I use react-hot-loader for development to quickly reload components when they update. The 1.0.0-beta2 build has broken this compatibility. Anytime a module is hot loaded, this message is printed to the console:
Uncaught Error: Invariant Violation: <Router history> may not be changed
Any thoughts about how to get around this limitation?
The code that defines the history is pretty standard:
export default class App {
render () {
return (
<Router history={new BrowserHistory()}>
<Route component={AppView} path="/">
...
</Route>
</Router>
);
}
}
Metadata
Metadata
Assignees
Labels
No labels