Demonstrating simple data fetching with React Query's useQuery hook.
Demonstrating a post request to add a user using useMutation, and updating the user list.
Implementing pagination using offset and limit, with keepPreviousData to prevent showing a loader.
Implementing infinite scroll using useInfiniteQuery and React Intersection Observer to fetch the next page automatically.
Demonstrating data transformation from the response using the select option in React Query.
Demonstrating data polling using refetchInterval and refetchIntervalInBackground options in React Query.