routes with query params
11111000000 opened this issue · comments
Peter commented
On route like this: /
, and also /#/
all works fine. Then, I add query parameter to uri: /?invite=test
, and it works, but /#/?invite=test
and /#?invite=test
isn't - nothing happens. How to support routes with query parameters? I need to add routes with RegEx or what?
Richard Liu commented
/#?invite=test
should match {?invite}
. Doesn't it?
Richard Liu commented
Are you using hasher.js, which helps you parse the hash part of url? The query string after #
is actually part of hash.