DEV Community

loading...

Discussion on: Building a modal in React.

Collapse
achowba profile image
Atauba Prince Author

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