4 ms·
I don't see why normal query parameters (using ? symbol) would be better than putting the key/value pairs after a # symbol. They both achieve the purposes of a
by getToTheChopin 4y ago
I don't see why normal query parameters (using ? symbol) would be better than putting the key/value pairs after a # symbol.
They both achieve the purposes of allowing custom URLs that bring the user to a specific state of the app.
- wildrhythms 4y agoAn often unintended side effect of using the URL hash to contain state is that it breaks potentially linking to an anchor element ID somewhere in the page. Obviously this doesn't matter much if the page doesn't use anchor IDs or you don't intend on users doing that.