React Quiz Practice
Active Recall Drill Session
← Exit SessionQuestion 1 of 1
mediumReact
What renders?
code
function Badge({ count }) {
return <div>{count && <span>{count}</span>}</div>;
}
// rendered as <Badge count={0} />Loading compiler resources...
Active Recall Drill Session
function Badge({ count }) {
return <div>{count && <span>{count}</span>}</div>;
}
// rendered as <Badge count={0} />