when do we actually use useEffect in react apps?
Why we need useEffects   Before React version 16.8, if you wanted to run a code when state...
Tags: react, javascript, pwa