DEV Community

Discussion on: Building a modal in React.

Collapse
 
achowba profile image
Prince

Thanks for the suggestion on using the conditional operator. Also, at the time this post was published, React Hooks didn't exist.