In my react application if I am sending a query parameter like localhost:8000/?param1=value1
, it gets converted to localhost:8000/?param1=value1#/
. I am new to this not really sure how it works. ConnectedRouter is being used :
<Provider store={store}>
<ConnectedRouter history={hashHistory}>
<AppRouter />
</ConnectedRouter>
</Provider>
const AppRouter = () => (
<Switch>
<Route ...... />
<Route ...... />
.....
</Switch>
);