mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-14 02:42:24 +03:00
Closes the src/ side of the campaign (no eslint-disable, no new suppressions; the 37 matching react-hooks/* entries are removed from config/quality/eslint-suppressions.json — only the 5 CI-divergent entries in tests/unit/ui remain, frozen by design, see #12144): - set-state-in-effect (30×): fetch-on-mount and sync-setter effects wrapped in the async-continuation pattern (await Promise.resolve() for pure-sync bodies), preserving semantics exactly. - refs/purity (ResilienceConnectionsClient): render now reads stopReason state instead of stoppedRef; the receivedAt fallback Date.now() in JSX was dead (every setData stamps receivedAt) and became 0. - exhaustive-deps (ApiTab, SessionInfoCard, useLiveDashboard): clearResults wrapped in useCallback; missing t dep added; channels array stabilized via channelsKey + useMemo so connect deps are statically checkable. - global-error: locale/messages load moved into one async continuation (also renames the import binding to mod per @next/next/no-assign-module-variable). Refs #12146