4 ms·
> Would you append the & to the fragment, or to the query? If to the fragment couldn’t that affect routing for SPAs? To the fragment. Tt could, depending on ho
by bokan 8y ago
> Would you append the & to the fragment, or to the query? If to the fragment couldn’t that affect routing for SPAs?
To the fragment. Tt could, depending on how the app was written. Is there a framework or some common techniques that use this I could read-up on?
- codezero 8y agoThere was a time several spa frameworks used explicit hash routing rather than url-like push state but I don’t have sources handy. I thought angular was one of them but they may have done away with this behavior. I work in analytics so I’ve seen things like UTM params get couched into the hash, breaking parsing, so at least it’s something to keep an eye out for.
- bokan 8y agoThanks, I'll make sure to dig into that some more!