Lost Access to params when using async derived on top level component with remote functions
Opened this issue · 1 comments
LaDorade commented
Describe the bug
I have an error since updated svelte and sveltekit today,
When hovering links who will render components who depends on a top level async derived which depends on page params, we doesn't have acces to the params of the pages (see example provided)
Reproduction
note de .remote file and the page who depends on that behind a param
Logs
Uncaught (in promise)
HttpError {status: 500, body: {…}}
body
:
message
:
"no param ?"
:
Object
status
:
500System 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: 20.19.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.8.2 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
svelte: ^5.39.5 => 5.42.2Severity
blocking an upgrade
dummdidumm commented
Probably related to effect.pre only firing once committed