most Ask react interview question part -2
Mar 22, 2023 · 3 min read · 11 ) What is the purpose of the key prop in React? -> The key prop is used to uniquely identify elements in a list of components. It helps React to efficiently update the list when new items are added, removed, or reordered. 12 ) What is the differen...
Join discussion



