Problems

Ternary View Picker

EasyConditional Rendering

Render <Dashboard/> when logged in, else <Login/>. Input: true or false. Print the rendered tag name.

Input: a boolean literal. Output: Dashboard or Login.

Your program reads from stdin and prints to stdout.

Example 1

Input: true

Output: Dashboard

Hints

ReactConditional
Ternary View Picker | CodeForge AI