AntiPattern

Mismatched Contract Usage

mismatched-contract-usage

Call-site contracts drift from expected interfaces—functions capture shared arguments, dispatch action types don’t match slice namespaces, children can’t access parent scope, and module imports use inconsistent access—causing state updates, rendering, and tests to fail unpredictably.