Q. What happens if you conditionally render a component that does not exist?

यदि आप किसी ऐसे घटक को सशर्त रूप से प्रस्तुत करते हैं जो अस्तित्व में नहीं है तो क्या होगा?

A
React ignores it
B
React throws an error
C
React replaces it with null
D
React renders an empty div

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