Choosing the Right Hook
You read in this blog about how to get familiar with useEffect()
in a two-part series: here and here. But what if the problem in your project is not rendering a component after a change but filtering the data itself? As you can imagine, there is also a hook for that.