3 approaches to consider when rendering conditional content in React
February 19, 2021In this post, I'd like to share alternative approaches for dealing with conditional rendering in React. I will try to list out the pros and cons about 3 different approaches (doesn't mean couldn't be more!) and hopefully this can be useful for you someday.