Skip to content

PERF003: hidden-component-bindings

Component with meta.visible: false has bindings

Code PERF003
Name hidden-component-bindings
Category Performance (PERF)
Default severity info
Enabled by default no
Fix available no
ign-lint equivalent none

Reports a component whose meta.visible is the literal false (not bound) while it, or a component inside it, has bindings.

Hidden components keep running their bindings: tag subscriptions, polling queries and expressions are evaluated for something nobody sees. A component that is permanently hidden is usually left over and can be removed; one that is shown conditionally should bind meta.visible.

{"type": "ia.display.label", "meta": {"name": "Debug", "visible": false},
"propConfig": {"props.text": {"binding": {"type": "tag", "config": {"tagPath": "[default]Line/Count"}}}}}

Use instead: delete the component, or bind meta.visible so it is only shown (and only needed) when relevant.

Not in the default set: hiding a component temporarily during development is common and harmless.


Generated from the rule metadata by iglint generate-docs; iglint rule PERF003 prints the same page in the terminal. Source: docs/rules/PERF003.md.