AntiPattern
React State and Hook Misuse
react-hook-order-state-staleness
React hook call ordering and state initialization break when components/functions are invoked incorrectly, optional parameters are spread with undefined, or initial state is set only once; results range from stale cache/UI and invalid loading flags to runtime hook errors.