Skip to content

Changed params does not trigger load function #11635

@stephane-vanraes

Description

@stephane-vanraes

Describe the bug

Somehow it seems that changing params in nested routes does not trigger the load function to run again.

Reproduction

https://www.sveltelab.dev/md97yhs52ldziep

When first loading you will get get an empty object for params, navigating through the (very complex, highly usefull) application doesn't update this object. Refreshing when on a lower level will run the load again and show the correct.

Bizarelly enough (but likely a good pointer for where the bug happens) going down the tree (/home -> /aa -> /aa/bb) does not work while going "up" works as expected (/aa/bb -> /aa -> /home)

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: 18.18.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.4.2 - /usr/local/bin/npm

Severity

blocking an upgrade

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions