Hey everyone,
One thing that can at times be annoying about building lots of different elements / user flows into a single page using custom states is that it can be difficult to maintain state if the page is refreshed.
If your user is navigating through a page on your app and clicks the back button on their browser, for example, by default they will be taken to the last page they were on (when very often the ideal behaviour would be to remain on the same page but to to return to the last “state” they were on.)
I was playing around with this problem the other week, and wanted to share one thing that I found works: https://youtu.be/LzfF18DySy8
Hope this helps!
- Jacob