-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed as not planned
Closed as not planned
Copy link
Labels
STATUS-2: missing infoIncomplete issue/pr template or missing important informationIncomplete issue/pr template or missing important informationTYPE: bugSomething isn't workingSomething isn't working
Description
Which component is affected?
Qwik Runtime
Describe the bug
useServerData(key) doesn't return the data after a qwik-city navigation, both in dev and preview
Reproduction
https://github.com/riencoertjens/qwik-redirect-issue-reproduction/tree/server-data-issue
Steps to reproduce
- npm install
- npm run start or npm run preview
- on homepage, click on
go to /serverdata using <Link href="/serverdata"/>or button
expectation:
shows serverData added in entry.ssr.ts
what happens:
no data is shown
it does work on initial load or when using an <a /> to do the navigation,
System Info
System:
OS: macOS 13.4
CPU: (10) arm64 Apple M1 Pro
Memory: 130.25 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
npmPackages:
@builder.io/qwik: ^1.1.4 => 1.1.4
@builder.io/qwik-city: ^1.1.4 => 1.1.4
undici: 5.22.1 => 5.22.1
vite: 4.3.5 => 4.3.5Additional Information
No response
Metadata
Metadata
Assignees
Labels
STATUS-2: missing infoIncomplete issue/pr template or missing important informationIncomplete issue/pr template or missing important informationTYPE: bugSomething isn't workingSomething isn't working