What is the difference between returning null and false from a component?
Forms and Events
Audio flashcard · 0:08Nortren·
What is the difference between returning null and false from a component?
0:08
Returning null or false from a component tells React to render nothing. Both are equivalent for skipping output. Returning undefined, however, is an error in most cases.
---