In lightning experience, when adding query parameters and reloading the page, they seem to be cleansed from the page on reload, however, fragment identifiers (or hashes) are persistent.
Ex:
https://sub-domain.lightning.force.com/lightning/n/app
If I add a query parameter:
https://sub-domain.lightning.force.com/lightning/n/app?query=potato
and reload the page, the params are cleared after the page reload.
However, if I add a hash:
https://sub-domain.lightning.force.com/lightning/n/app#query=potato
the hash is persists after a page reload...
Is there any reason why query parameters are removed when I reload my page vs hashes ?