Kratek
Generic handler for data.isLoading and data.isError
Hi, I'm looking for a way to create generic interface for useQuery result (budgetData from example below). My aim is to create generic function that handle isLoading and isError in every component.
Example below:
Could you help me with it guys?
6 replies