Donavon West's Blog · Feb 1, 2018
Conditional Rendering in React using Ternaries and Logical AND
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
If you are explicit and always create a boolean, there's no reason not to use a logical AND vs. a ternary for conditional rendering.
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.