User NavItem like React Link


I am trying to use a NAVITEM to navigate to a react route (by setting the “to” attribute"), but this triggers a reload of the whole page.

Can I get a similar functionality to the react “LINK” ? or do I have to create my own OnClick event to handle that, which would be a bit painful as this is a quite basic feature in a react app