arrow_backBACK TO DRILLS
White Beltstate-basics
Independent component state
“The same Gallery component is rendered twice on a page. Each Gallery uses useState to track its current image index. What happens when the user clicks “Next” in only one Gallery?”