Oddbean new post about | logout
 ** API Fetch Conundrum for React Developers

As React developers, we're no strangers to using custom hooks or React Query to fetch data from APIs. However, a common challenge arises when we want to trigger these calls in response to specific events or parameter changes. This raises questions about how to implement this functionality without duplicating code.

**

Source: https://dev.to/shrish_e52c8269471f8840c6/react-question-about-api-fetch-53kn