Yadvir Kauryadvirkaur.hashnode.devยทFeb 5, 2024The Power of Generic Hooks in React Data FetchingHello! Welcome back! In my previous post, we created a custom hook, like 'useUsers', to fetch data from a specific endpoint, say '/users'. But what if we need data from different endpoints like '/posts'? We'd end up writing similar custom hooks, intr...44 readsgeneric hooksAdd a thoughtful commentNo comments yetBe the first to start the conversation.