// In my navigation componet I use HashRouter from react-router-dom
import { HashRouter as Router, Route, Link } from "react-router-dom";
public render() {
return (
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!
In my application I use react-router-redux for navigation and it works fine. But i want to navigate with hash (#) instead of slash(/).
import createHistory from "history/createBrowserHistory"; const history = createHistory(); createStore( rootReducer, applyMiddleware( promise(), routerMiddleware(history) ) ); < ConnectedRouter history={history}> < div> < App /> < /div> < /ConnectedRouter>
// In my navigation componet I use HashRouter from react-router-dom import { HashRouter as Router, Route, Link } from "react-router-dom"; public render() { return (
Home
} />}