QwikDev / QwikDev/qwik

[🐞] v2: qwikloader should wait until a container has state

Open
#8,293 0 comments 0 reactions 1 assignee View on GitHub

@wmertens is already working on this.

Since Feb 3, 2026.

  • #8581 by @Varixo — merged
bug runtime V2
Dominant language
TypeScript
Stars
22.1k
Forks
1.4k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

Which component is affected?

Qwik Runtime

Describe the bug

when you run the e2e test "streaming" and click during the stream, the container is resumed before the vnodes/state has arrived.

Qwikloader should keep track of when a container is ready to run non-sync handlers, perhaps by expecting e.g. "ready" in the _qwikEv array for that container.

Reproduction

see e2e tests

Steps to reproduce

pnpm serve

http://localhost:3300/e2e/streaming

click while it loads

System Info
any
Additional Information

note that before, you could click but nothing happened (it also didn't remember you clicked), which is slightly better than now, where you click and the container never works any more.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.