BuilderIO / builder

Visual Development for React, Vue, Svelte, Qwik, and more
https://builder.io
MIT License
7.55k stars 946 forks source link

`searchParams` are missing in the Qwik-City when using with `<Link>` #1326

Open mhevery opened 2 years ago

mhevery commented 2 years ago

Describe the bug

searchParams is missing in request pramater in QwikCitp

To Reproduce Steps to reproduce the behavior:

  1. https://stackblitz.com/edit/qwik-starter-fe58un?file=src/routes/index.tsx
  2. Notice that no matter which page you visit the onGet method does not have any data.

Expected behavior Expecting that searchParams would contain the page paramater

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

mhevery commented 2 years ago

After further investigation the issue is that <Link> component does not seem to forward the searchParam

elilabes commented 1 year ago

Just ran into this issue too, will be important for going live!