Usage manage loading state easily function UserComponent() { const [request, isLoading] = useRequestState(fetchData); return ( <div>