lite-sz-object

An sz object passed to a lite-runtime helper, which cannot lower objects.

Message

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

Arguments

The values this diagnostic names.

NameType
fnNamestring
receivedstring