Well as for my implementation I don’t care if the URL updates. Actually, I prefer the URL being updated.
- This is my use case, maybe it helps
For example, I defined a state like this (it’s url):
:partnerType is either a ‘Save’ or a ‘Redeem’ partner
:viewType is either ‘Map’ or ‘List’ (you can view partners on a map or in a list view)
Menu opens in ‘country list view’
:countryId is the user selected country (the first option in this ‘sub menu structure’
When country is selected, list view slides to ‘Select category view’
:categoryId is the category a user chose. It’s either ‘all’ for all categories or an actual ID to filter on that category
When ‘All’ is selected in category view, the menu closes and the Map / List view is updated according to the new data set in the parameters
When a specific category is chosen, the category list view slides to ‘Select partner list view’ where a list of partners is shown
This is just like the categories; select ‘All’ for all partners or select a specific partner. In both cases, this is the final view in this submenu so with ‘All’ or a specific partner, the menu will close and the Map / List view will update accordingly.
Hope this helps. If you made any progress in a CodePen snippet, please share and we could work together on it.
I don’t like being the guy who ‘orders’ stuff and doesn’t help with his own problem
Again, all your effort is much appreciated.