Ionic 4 / React - Use HashRouter Instead of BrowserRouter

Hi Folks,

Does anyone knows why the IonReactRouter component in @ionic/react-router is limited to BrowserRouter routing?

I am building a SPA module using HashRouter and would like to stay within the Ion components to take advantage of transitions, but changing IonReactRouter to HashRouter seems to be the only way I can see to use this navigation scheme.

I have tried changing the source scripts in IonReactRouter from BrowserRouter to HashRouter and this works beautifully, but I would like to maintain forward compatibility.

Any suggestions would be appreciated.


Thanks to the Ionic team, the feature has been added: