Closed RainerAtSpirit closed 8 years ago
Just closed #5 , it was a problem with the hosting of the examples. Deep links should work perfectly fine.
I'm aware of the fact that #5 was an issue with the server :). It would be still great having the option to use hash-history. Shouldn't be too hard to implement by allowing a third optional {html5history: true|false (default)}
argument.
Forgot to add I can send a PR for that if you think that supporting hash-history is a useful capability for mobx-router.
Has this been considered? I'd like to host on github pages and the only way I see paths like e.g. /a/b/0
working is with hash-history.
I can submit a PR if necessary.
I added this via: #73
This should address scenarios like https://github.com/kitze/mobx-router/issues/5 where the underlying server doesn't support deep linking.
Here's a hardcoded mockup that sets it to false and updates autorun.