You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating to from V5 to v6 was pretty easy, however there is maybe something wrong about the previous component rendering.
This what I have right now:
<Breadcrumbs/>
<menu/>
<ListDepartments/>
Just imagine that you have a list of rows in the ListDepartments and when you click on one of the rows, it will navigate you to the department page. In this case, the Breadcrumbs need to change, which happen and also the menu, which happen also.
But here is the issue.
When you are going back to the department list, the previous menu is still showing up? Normally before updating to V6, the 3 components needs to be re-rendering, but it didn't re-render on the Menu component.
So the quick fix was to insert the Menu component inside the Breadcrumbs component, because the Breadcrumbs re-render.
Which isn't the right logic for that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hope one of you can help me with this,
Updating to from V5 to v6 was pretty easy, however there is maybe something wrong about the previous component rendering.
This what I have right now:
Just imagine that you have a list of rows in the ListDepartments and when you click on one of the rows, it will navigate you to the department page. In this case, the Breadcrumbs need to change, which happen and also the menu, which happen also.
But here is the issue.
When you are going back to the department list, the previous menu is still showing up? Normally before updating to V6, the 3 components needs to be re-rendering, but it didn't re-render on the Menu component.
So the quick fix was to insert the Menu component inside the Breadcrumbs component, because the Breadcrumbs re-render.
Which isn't the right logic for that.
Beta Was this translation helpful? Give feedback.
All reactions