Navigate has bugs for me.

This issue has been tracked since 2021-01-06.

I have a nest Router. I am using firebase authentication to verify if the user is signed in. The url will change in browser but the page will not change. I can tell the route exist because I can click the refresh button and I can see the actual page. I can traverse the routes well with the via href but navigate has buggy behavior.

<script>
....
const unsubscribe = userStore.subscribe(user => {
    if (!user) {
      navigate("/auth/login/", {replace: "true"});
    } else if (!isOnboardingComplete) {
      navigate("/auth/onboard/", {replace: "true"});
    }
</script>
...

Also on that page, I am rendering and image dynamically, and it does not show when using navigate() either. Any advice?

 <div
        class="absolute top-0 w-full h-full bg-gray-900 bg-no-repeat bg-full"
        style="background-image: url({registerBg2});"
      ></div>

More Details About Repo
Owner Name EmilTholin
Repo Name svelte-routing
Full Name EmilTholin/svelte-routing
Language JavaScript
Created Date 2017-11-28
Updated Date 2022-12-03
Star Count 1711
Watcher Count 21
Fork Count 151
Issue Count 59

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date