lite-sz-objectAn sz object passed to a lite-runtime helper, which cannot lower objects.
code is this id, by a development build; a production build does not throw it.A name in angle brackets is a value the message fills in.
[csszyx] lite-sz-object: `<fnName>()` takes class strings and received the plain object `<received>`, because the compiler could not resolve this `sz` prop at build time.
help: write `sz={[cond ? varA : varB, { key: 'val' }]}`; a spread of a conditional, such as `sz={{ ...(cond ? varA : varB), key: 'val' }}`, is the usual cause.
note: a production build skips this check: `_sz` returns the object, or `[object Object]` beside other classes, and `_szMerge` throws a `TypeError`.
docs: https://csszyx.com/e/lite-sz-object
The values this diagnostic names.
| Name | Type | |
|---|---|---|
fnName | string | |
received | string |