Q. When rendering a list of components, where should the key be placed?

घटकों की सूची प्रस्तुत करते समय, कुंजी कहाँ रखी जानी चाहिए?

A
On the parent <ul> or <div>
B
Inside the child component
C
On the direct element being returned from .map()
D
On the props of each item

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