You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thejackshelton
changed the title
[🐞] Code(3): Only primitive and object literals can be serialized
[🐞] Tabs & Inline components: Only primitive and object literals can be serialized
Jul 22, 2024
Which package is affected?
Headless Kit
Describe the bug
When putting items inside the tabs, we get an error from Qwik that only primitive and object literals can be serialized.
The reproduction below, is putting a simple icon in the tabs, and it breaks.
This is caused by the Icon being an inline component, if we wrap it in
component$
it works fine.Reproduction
https://github.com/thejackshelton/tabs-repro
Steps to reproduce
pnpm i
pnpm dev
open dev server
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: