M Mr. Dubey • 100.28K Points Coach Bookmark Embed Report View In MB-Short Q. How can you conditionally render a component in React? (A) Using if statement outside JSX (B) Using ternary operator or logical && inside JSX (C) Using a loop (D) You cannot conditionally render in React Correct Answer - Option(B) Views: 26 Filed under category React Js Share
Discusssion
Login to discuss.