-
-
Couldn't load subscription status.
- Fork 2.1k
Closed as not planned
Description
Describe the bug
When you wrap a +page.svelte inside a boundary all of a sudden all component imports break.
Quick workaround is to do it inside a +layout.svelte using {@render children?.()}, i don't want to do it in the root of my project though.
Reproduction
https://github.com/lennon03/svelte_boundary_component_import_bug
It really is just wrapping the entire page with a boundary, now all components are gone.
In this example it just kept loading forever, sometimes it doesn't even show the loading snippet (refresh luck).
Logs
None at runtime, ide gives me the following error:
Cannot find name 'Counter'.System Info
System:
OS: Linux 6.16 Arch Linux
CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
Memory: 6.27 GB / 15.32 GB
Container: Yes
Shell: 5.3.3 - /usr/bin/bash
Binaries:
Node: 22.20.0 - ~/.local/share/mise/installs/node/22.20.0/bin/node
npm: 10.9.3 - ~/.local/share/mise/installs/node/22.20.0/bin/npm
bun: 1.2.22 - ~/.local/share/mise/installs/bun/1.2.22/bin/bun
Browsers:
Chromium: 140.0.7339.207
npmPackages:
@sveltejs/adapter-vercel: ^5.10.2 => 5.10.2
@sveltejs/kit: ^2.43.5 => 2.43.5
@sveltejs/vite-plugin-svelte: ^6.2.1 => 6.2.1
svelte: 5.38.0 => 5.38.0
vite: ^7.1.7 => 7.1.7Severity
serious, but I can work around it
Additional Information
This shouldn't really be a priority.
Metadata
Metadata
Assignees
Labels
No labels