You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Violation:React Compiler skipped optimizing this component because one or more React ESLint rules were disabled (Error, line 33): the eslint-disable react-hooks/exhaustive-deps, react-hooks/use-memo on the manual useMemo (keyed on a spread refs array) makes the compiler skip the module.
Steps
Reproduce and confirm the violation.
Remove the disabled rules and restructure the ref-merging so it is compiler-compatible, per #mismatched-usememo-dependencies. Do not drop the manual useMemo until the violation is gone.
Confirm the count dropped; let the hook update the record file.
Part of #1066.
src/checkbox-field/use-fork-ref.tsReact Compiler skipped optimizing this component because one or more React ESLint rules were disabled(Error, line 33): theeslint-disable react-hooks/exhaustive-deps, react-hooks/use-memoon the manualuseMemo(keyed on a spreadrefsarray) makes the compiler skip the module.Steps
#mismatched-usememo-dependencies. Do not drop the manualuseMemountil the violation is gone.