arrow_backBACK TO DRILLS
Blue Beltuseref

A DOM Ref After Element Removal

A component attaches inputRef to an <input> element. Later, the input is removed from the screen because of conditional rendering. What happens to inputRef.current?