arrow_backBACK TO DRILLS
Blue Belt - Mediumuseref
Ref callback cleanup behavior
A list item uses a callback ref that adds its DOM node to a Map and returns a cleanup function deleting it. When does React call the cleanup?
A list item uses a callback ref that adds its DOM node to a Map and returns a cleanup function deleting it. When does React call the cleanup?