I'm building a React app that has links pointing to predefined routes.
<a href="/my/react/route/">Click Here</a>
The routes resolve fine, but it's refreshing the page, thereby slowing down app performance. How do I avoid re-rendering the entire page?
Link
eventually callshistory.pushState
which is what sets the URL without causing the page to refresh. developer.mozilla.org/en-US/docs/Web/API/History/pushState