Direction: Choose the correct option
Q1.
What is conditional rendering in React?
Direction: Choose the correct option
Q2.
Which of the following is a valid way to conditionally render in JSX?
Direction: Choose the correct option
Q3.
What does {isLoggedIn && } do if isLoggedIn is false?
Direction: Choose the correct option
Q4.
Which statement about conditional rendering is true?
Direction: Choose the correct option
Q5.
Given: {condition ? : }. What renders when condition is true?
