Q. If a component re-renders with a list, what does React use keys for?

यदि कोई घटक किसी सूची के साथ पुनः प्रस्तुत होता है, तो रिएक्ट कुंजियों का उपयोग किस लिए करता है?

A
To compare previous and current elements
B
To clear the list
C
To create new elements
D
To force an update

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment