Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70440

Issue when navigating on same component

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>