✅ How to register a onNavigate/navigation event callback in Net8 SSR?
blazor.web.js replaced the entire html on navigate with the response, but scripts like
<script src="js/myscript.js></script>
are NOT executed again.
so if any js is used it will break on any navigation change.
how can i register a callback for a navigation change?
i have seen there is Window.Blazor.addEventListener() but there is absolute no documentation1 Reply
fixed: