Hello,
i’m facing an issue (possible bug?) when navigating between routes that renders the same component.
I have a list of categories (parent-> children) that i want to navigate
<Route path="/:tab(categories)" component={Tab1} exact={true} />
<Route path="/:tab(categories)/:categoryId" component={Tab1} exact={true} />
the effect is that when navigating to /:tab(categories)/:categoryId it pushes the new view but reuses the older component so i can clearly see the same data on the screen.
Is there a way to instatiate a new component (same one, new instance) instead of reuse the older one?
1 post - 1 participant