I want to handle some deep-linking or oauth type callbacks in my Kotlin/WASM App.
What is the behaviour of the Browser/WASM runtime if I navigate to the same location as my loaded WASM App, but with new URL parameters?
Can I configure things such that the App doesn't restart but just gets a callback with the new parameters?
e
ephemient
01/18/2024, 2:44 AM
entirely a web question. modifying
location
(other than
hash
) will reload the page. using
history.pushState
et al. lets your page stay loaded (only if same origin) but you have to handle updating the page state yourself.