Skip to content

[🐞] [v2] using context directly after provider leads to issues #7747

@wmertens

Description

@wmertens

Which component is affected?

Qwik Runtime

Describe the bug

See the e2e integration tests in #7731
Those fail because the qwik env is missing on navigation, which means the context didn't get serialized.
When changing e2e/adapters-e2e/src/root.tsx to not use useDocumentHead(), things work.

Reproduction

see pr

Steps to reproduce

Now change root.tsx to remove the head uses and repeat => works, so useLocation() is not the problem.

System Info

n/a

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions