It makes sense because there is no function/action involved here (and it’s not needed) in NavItem.
You only want to pass parameters from component to component. You see what I mean? Sorry, I’m so bad at explaining things.
3 个赞