Skip to content

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

@wmertens

Description

@wmertens

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions