StrictMode double-invocation: remount-safe effects or opt out?
Goal Determine whether to invest in making all effects remount-safe or disable <StrictMode> for a React 18+ codebase that ships to production. Constraints and uncertainty React 18's development <StrictMode> intentionally runs each effect's setup–cleanup–setup cycle twice on mount to expose missing cleanup and non-idempotent logic. Production buil