kitze / mobx-router

A simple router for MobX + React apps
509 stars 66 forks source link

allow configuration without html5history, aka hash routing #31

Closed jayalfredprufrock closed 3 years ago

jayalfredprufrock commented 7 years ago

As of now, mobx-router forces you to use html5history routing w/ pushState, however this isn't always desirable with SPA or when using Electron.

Would you accept a pull request that provides an option to switch to hash-based routing which would then use setRoute instead of pushState?

RainerAtSpirit commented 7 years ago

https://github.com/kitze/mobx-router/issues/7

thdk commented 3 years ago

Done in #98