I want to use programmatic navigation in sveltekit, sending in the same time params to the route I want to navigate to. I know there is the goto method that I can use for programmatic navigation but I can't use it to also send params in navigation.
For example in vue js, it can be done like this:
router.push({ name: 'user', params: { userId: '123' } })
How can this be done in sveltekit?
Thank you!