AntiPattern
State/Imports Semantics Mismatch
state-semantic-mismatch
State values and module bindings get treated as interchangeable despite differing access rules (destructuring vs dot access, scope vs store getters, build-time vs runtime data, hook initialization vs factory usage). The result is stale or “impossible” values that break UI logic.