Skip to main content

What it flags

A component is declared inside another component and rendered as an element, so it remounts on every render and loses its state and DOM.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: