-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Description
Describe the bug
When you set the async and remote function experimental options to true the page content will cease to exist when you save a file if you have navigated elsewhere. This then requires you to manually refresh the page.
Reproduction
- Startup the example REPO in dev mode
- Add something to the home page markup and notice that HMR performs as expected.
- Navigate to the view users page and then navigate back to the home page.
- Add something to the homepage markup and save
- Witness content disappear.
- Go to the svelte config and disable everything regarding async/remote funcs
- Restart the dev server
- Add something to the home page, witness it work as expected.
- Navigate to the users page and then back to the home page
- Add something to the markup
- Witness content and HMR work as expected.
Logs
No logs are outputSystem Info
System:
OS: macOS 26.2
CPU: (10) arm64 Apple M4
Memory: 2.50 GB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.13.1 - /Users/a/.nvm/versions/node/v22.13.1/bin/node
npm: 11.2.0 - /Users/a/.nvm/versions/node/v22.13.1/bin/npm
pnpm: 10.20.0 - /Users/a/.nvm/versions/node/v22.13.1/bin/pnpm
bun: 1.2.21 - /Users/a/.bun/bin/bun
Browsers:
Chrome: 142.0.7444.162
Safari: 26.2
npmPackages:
svelte: ^5.43.8 => 5.43.14
@sveltejs/kit: => 2.48.5Severity
annoyance
zachczx
Metadata
Metadata
Assignees
Labels
No labels