Adding interaction in a web application is very essential for modern development, but tiny effects can super change user experience in a positive way. In this article, you will learn how to close a modal by clicking outside of it. We will create a bu...
blog.segunajibola.com6 min read
Segun Ajibola
π¨πΏβπ» Frontend Developer | π Technical Writer | π Open-Source Contributor
Devesh Kumar
we can use useEffect hook in react for this purpose, isn't we.