Q. Which of the following is the correct syntax to conditionally render a component based on two conditions (isLoggedIn and isAdmin)?

निम्नलिखित में से कौन सा दो शर्तों (isLoggedIn और isAdmin) के आधार पर किसी घटक को सशर्त रूप से रेंडर करने के लिए सही सिंटैक्स है?

A
{isLoggedIn isAdmin && }
B
{isLoggedIn && isAdmin && }
C
{isLoggedIn isAdmin ? }
D
{isLoggedIn || isAdmin && }

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