SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

Add ref callback test for cleanup fn vs null call (#28895)

Used this test scenario to clarify how callback refs work when detached
based on the availability of a cleanup function to update documentation
in https://github.com/reactjs/react.dev/pull/6770

Checking it in for additional test coverage and test-based documentation
J
Jack Pope committed
d4e78c42a94be027b4dc7ed2659a5fddfbf9bd4e
Parent: 699d03c
Committed by GitHub <noreply@github.com> on 4/23/2024, 4:13:09 PM