most Ask react interview question part -2
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...
nisharmultani.hashnode.dev3 min read