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
On Liveview, the router does not respect the URL when directly accessing a route. E.g. trying the /tools route. Additionally, the links do not update the URL with the new route.
I am also experiencing this issue, but on fullstack instead of liveview. Is there a solution for fullstack?
You probably figured it out by now, but I'll leave answer in case someone like me will be looking for it. To fix it you need to add features to dioxus. I've change Cargo.toml to include dioxus = { features = ["fullstack", "router", "web"], workspace = true } dioxus-router = { workspace = true }. Idk which one (probably 'web'), but one of those provides History implementation that then becomes router default.
Problem
On Liveview, the router does not respect the URL when directly accessing a route. E.g. trying the
/tools
route. Additionally, the links do not update the URL with the new route.Steps To Reproduce
Reproducible Code Sample
/tools
route directly.Expected behavior
The browser URL to update accordingly with the router and on fresh load the router respects the targetted URL.
Screenshots
2023-12-19_20-25-58.mp4
Environment:
Questionnaire
The text was updated successfully, but these errors were encountered: