diff --git a/src/runtime/native/react/rules.ts b/src/runtime/native/react/rules.ts index 048c314..1ff6c1b 100644 --- a/src/runtime/native/react/rules.ts +++ b/src/runtime/native/react/rules.ts @@ -71,6 +71,11 @@ export function updateRules( if (target) { if (Array.isArray(target)) { for (const item of target) { + // undefined or falsy is allowed in the style array + if (!item) { + continue; + } + if (VAR_SYMBOL in item) { inlineVariables.add(item); } else if (