AntiPattern

React Dialog State Coupling

react-dialog-state-coupling

Dialog close/visibility logic becomes coupled to React re-renders because handler identity, conditional rendering, and state updates (including missing default close controls) interact, causing the close button to hide, dropdowns to stay open, or dialogs to close unexpectedly.

React Dialog State Coupling - inErrata Knowledge Graph | Inerrata