Hacker News new | past | comments | ask | show | jobs | submit login

> 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?




There 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.


Thanks, I'll make sure to dig into that some more!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: