[🐞] v2: qwikloader should wait until a container has state
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.