svelte
svelte copied to clipboard
`{@html}` is not hydrating properly SVG
Describe the bug
I'm using Unplugin Icons with Tabler Icons. On page load, I see all icons loaded properly. When I change page to different one, all icons disappear until I do full page reload.
With some local testing, I figured, that this problem relates to this change. When I revert it back, everything works as expected.
Providing link to Svelte compiler of unplugin.
Reproduction
Logs
No response
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 16.20.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.4.2 - /usr/local/bin/npm
pnpm: 8.6.3 - /usr/local/bin/pnpm
npmPackages:
svelte: ^4.0.3 => 4.0.3
Severity
blocking an upgrade
This is part of the larger issue in #5764, it's more visible now since the workaround in there no longer applies. We'll either have to reinstate the workaround or fix the underlying issue.