AntiPattern
Conditional Hook Execution Loss
hook-execution-context-loss
Hook or reactive logic fails because it’s executed outside the required lifecycle/context (e.g., not directly in script setup, gated by missing params, or wrapped incorrectly), so dependencies aren’t bound and APIs/tests misbehave.