the same functional component? With class components it creates instances, but with functional components it just runs the function, how does it know that a component is the same to give it the same state for example?
React knows which component it renders, based on its place in the DOM
Обсуждают сегодня