MrNKV
Issues with redirects and partials.
Hello, I am having some problems when I try to use partials in fresh. My partial is located in _app wrapping everything like in the example in the docs.
<body f-client-nav>
<Partial name="body">
<Component />
</Partial>
</body>
This makes my site feel significantly better to use and prevents the background and nav bar from flashing between pages.
My issue is that when redirecting (for example after a successful login or attempting to go to a protected route) the url doesn't change and none of my pages load correctly until the page is refreshed. All a tags work as expected until a redirect occurs.
When the f-client-nav and partial are removed the site works as expected. Hope someone has a fix because I enjoy the partial being used.
Thanks.
7 replies