You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
There is currently 1 supported way to programmatically navigate to another route: Router.push(url: string).
Expected behavior: history.pushState accepts a state object as the first argument. It would be very helpful if Router.push() accepted a second (optional) argument for that purpose.
Furthermore, it would be great if the library supported not only pushState, but also history.replaceState, e.g. Router.replace(). This is currently a blocker for us to move to this library.
The text was updated successfully, but these errors were encountered:
Resources:
Before submitting an issue, please consult our docs.
Stencil version: (run
npm list @stencil/core
from a terminal/cmd prompt and paste output below):I'm submitting a ... (check one with "x")
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
Current behavior:
There is currently 1 supported way to programmatically navigate to another route:
Router.push(url: string)
.Expected behavior:
history.pushState
accepts a state object as the first argument. It would be very helpful ifRouter.push()
accepted a second (optional) argument for that purpose.Furthermore, it would be great if the library supported not only pushState, but also
history.replaceState
, e.g.Router.replace()
. This is currently a blocker for us to move to this library.The text was updated successfully, but these errors were encountered: