Giving a Link

How should I give a link?

To provide a link using a router (with prevent page refresh), please follow the example provided below. The use of target="_self" is required.

<a href="/path/to/new-page" target="_self"></a>

Why do I need this?

This solution has been employed to prevent unwanted situations. By adhering to this method, you can continue using the regular approach when providing links. However, if you wish to provide a link with prevent page refresh, you should follow the example provided.