my blogs
useEffect - Deep Dive Into It
Understand useEffect completely and handle your side effect easily. Effects let you specify side effects caused by rendering itself, rather than by a particular event. Generally speaking, effects help...
useRef vs. useState - When to Use Each?
Whenever we use useState we are telling React that this data is special to us. Please, remember it between renders so I may use it. In our code above, we want to remember the isModalOpen data.