noob saibotN
Convex Community2y ago
9 replies
noob saibot

Loading, error, data

Hello community. First time Convex user. How do I display a loading state (spinner) when using the useQuery hook? I thought that this hook would return some kind of flag (like in react-query). But it seems to return only the final result. How do I handle the fetching status? (loading, error...) I could not find related documentation.
Was this page helpful?