sveltejs/svelte

experimental `fork` API loads `<title>` prematurely

Closed this issue · 3 comments

Describe the bug

When hovering a link, if the link destination changes the page title, the title will be changed on hover instead of on navigation.

Requires the experimental.async option, but not necessarily the experimental.remoteFunctions option.

Reproduction

https://github.com/zqianem/sveltekit-fork-title-bug

Logs

System Info

npmPackages:
    @sveltejs/adapter-auto: ^6.1.0 => 6.1.1 
    @sveltejs/kit: ^2.43.2 => 2.48.0 
    @sveltejs/vite-plugin-svelte: ^6.2.0 => 6.2.1 
    svelte: ^5.39.5 => 5.42.2 
    vite: ^7.1.7 => 7.1.12

Severity

blocking an upgrade

Additional Information

No response

This is also true for $effect.pending() what is even worse because it destroys the whole loading animation flow.

Getting bug reports from users who are confused due to this.. +1

This is also true for $effect.pending() what is even worse because it destroys the whole loading animation flow.

@cnolte Could you clarify what you mean by that and provide a reproduction?