-
Let me set the stage with a brief description of our app:
The issue since adding the router to the tabs is that we are only rendering one tab at a time. When a user switches tabs to search a different index, the 1st search on the other tab is lost since the component and all the filters unmount. What I think I want to do (open to suggestions), is:
I know I can programmatically store the active filters, but I am unclear on how (or if ) I can programmatically restore/resume a given search. I know I could parse out everything into URL params, but that seems clunky I have gone done the path of trying to solve it via the router using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
It can be achieved by using controlled behavior in components i.e use |
Beta Was this translation helpful? Give feedback.
-
@WGriffing Can you share a little bit about how you achieved the Tabbed interface? Been working on that too with Material UI and having limited success. |
Beta Was this translation helpful? Give feedback.
It can be achieved by using controlled behavior in components i.e use
value
withonChange
prop and manage state by yourself.