Follow-up from the adversarial review of #1295 (hy3, round 1).
apps/front/src/routes/authed/staff/staff-users/$userId-edit.tsx emits two react(refs) during-render warnings (refs read/written during render). This is shipped code, out of scope of #1295, and is a real defect class (React Compiler / StrictMode unsafe).
Expected: move the ref access out of render (effect or event handler), add a test that fails on a during-render ref access (react-doctor/oxlint react rule as error for this file), paired red/green proof in the PR.
Part of #1161 (merged via #1295).
Follow-up from the adversarial review of #1295 (hy3, round 1).
apps/front/src/routes/authed/staff/staff-users/$userId-edit.tsxemits tworeact(refs)during-render warnings (refs read/written during render). This is shipped code, out of scope of #1295, and is a real defect class (React Compiler / StrictMode unsafe).Expected: move the ref access out of render (effect or event handler), add a test that fails on a during-render ref access (react-doctor/oxlint react rule as error for this file), paired red/green proof in the PR.
Part of #1161 (merged via #1295).