DEV Community

Discussion on: Conditionally render react components in cleaner way

Collapse
 
moezkouni profile image
MoezKouni

The best way is to use switch case statement to avoid constructing the other components. Otherwise, good article. Thanks