← Code LabReact Native0/50 solved · 0%
Fundamentals · easy

14. Guarding numeric && rendering

Avoid the classic `{0 && <X/>}` bug.

Write `shouldRenderBadge(count)` returning `true` only when `count` is a number greater than 0 (not just truthy).
Required in your answer: > 0