how to: useEffect
1. useEffect hook
useEffect lets you perform side effects in function components. For example you want to fetch some data after the component is loaded. You can do this by using useEffect hook.
2. Declaring useEffect
By default, useEffect runs both ...
blog.furkanozbek.com3 min read