dillon1000/react

Commit

Remove warning for ref cleanup function (#28883)

Resources
- RFC: https://github.com/reactjs/rfcs/pull/205
- Warning implemented in https://github.com/facebook/react/pull/22313
- Warning enabled in https://github.com/facebook/react/pull/23145
- Feature added in https://github.com/facebook/react/pull/25686

We have warned to prevent the old behavior since 18.0.0.

The new feature has been on in canary for a while but still triggering
the warning. This PR cleans up the warning for 19
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/__tests__/refs-test.js ModifiedM packages/react-reconciler/src/ReactFiberCommitWork.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…