arrow_backBACK TO DRILLS
Blue Beltuseref
ref.current reset on unmount
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?
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?