You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In useFindMany() reactive query, while it is fetching data from the database, it would be great to have a loading state. Like returning { data, isLoading } or just returning undefined when the data is being fetched.
In the current implementation, it returns an empty array which triggers "no data found" screen in my use case and I didn't find a way to distinguish if prisma is fetching the data or if the data is actually empty.
The text was updated successfully, but these errors were encountered:
In useFindMany() reactive query, while it is fetching data from the database, it would be great to have a loading state. Like returning
{ data, isLoading }
or just returningundefined
when the data is being fetched.In the current implementation, it returns an empty array which triggers "no data found" screen in my use case and I didn't find a way to distinguish if prisma is fetching the data or if the data is actually empty.
The text was updated successfully, but these errors were encountered: