So say I have Array of 5 items. When I’ll map through this array and will render my components I’ll have 5 components. In this case every component has own instance.
But I want to “replace” component with every iteration. So in my case I’ll have every time only one component instead of 5.
How can I do this?
Comments
Post a Comment