Render-After-Mount Without setState: Fixing React's setState-in-effect Warning with useSyncExternalStore
React 19's eslint flags the classic mounted-flag pattern. Instead of silencing it with setTimeout, model hydration state, window values, and localStorage as external stores — three real examples.