-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Blazor Webassembly: Unable to supress URL rewriting #38251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@xanth thanks for contacting us. Are you asking for hash based routing? |
This issue is a dupe of #6175 |
@javiercn no I want entirely virtual routing stored in some internal state object. |
Totally open to alternative/elegant solutions but at the moment the best solution I can see is embedding it in an iframe as a means of cordoning the real URL off. |
@xanth thanks for the additional details. That's not something we have plans to support. |
@javiercn how would one nest a Blazor app besides some other app without conflicting with the other apps routing? |
@xanth you wouldn't use our routing system for that. Our routing system requires a piece of observable state in the URL, and that's a core feature of the system, so its not something we plan to change. If you want to have a widget that can be in multiple states, then you can track that yourself, within local storage, a cookie or whatever solution you see fit. |
Wouldn't it be better if the routing subsystem was plugable in such a way that the URL sourcing and syncing was configurable? |
Is your feature request related to a problem? Please describe.
I need navigation but sadly the URL must not be modified and as far as I can see there is no hook to disable this functionality.
Describe the solution you'd like
I'd like the ability to disable url rewriting.
Additional context
The text was updated successfully, but these errors were encountered: