arrow_backBACK TO DRILLS
White BeltuserefPREMIUM
refs are local per component instance
Two copies of the same component both call const countRef = useRef(0). What happens when one component updates countRef.current?
Two copies of the same component both call const countRef = useRef(0). What happens when one component updates countRef.current?