I have a situation where we are having multiple navigation states at the same time. For example, we might be looking at at a blog post: #/blog/my-blog-post
If I click the authors name, we fold out a sidebar (which has to be linkable, meaning syou could send it to someone): #/user/5
When I close the foldout sidebar, I’ve managed to store the previous hash and push it to history, but the page rerenders (because the location changed) and we scroll to top. I can’t figure out how to silently just update the hash without react router doing anything. Is this possible?
Is it possible for multiple routes to be active at the same time?
I want to be able to handle state using hashrouter and maintaining multiple routes at the same time, showing modals for example (and being able to to copy the URL that reflects that state)