refetch without loading being true #552
Replies: 3 comments
-
You could try to use apollo-client Maybe this solution is quite hacky but I think it should solve the problem: For SmartQuery:
If you are using Query component I guess the solution would look like this:
Loading state still seems for me a bit confusing (comparing for example to react-apollo) if someone has a better idea how to handle that I would be happy to see it. 🙂 |
Beta Was this translation helpful? Give feedback.
-
Ah |
Beta Was this translation helpful? Give feedback.
-
is this working for you? |
Beta Was this translation helpful? Give feedback.
-
Is there a way to refetch a query without
loading
beingtrue
? Sometimes it would be nice to refetch data in the background without showing a loader. I can't find a way to differentiate between an initial fetch and a refetch.Beta Was this translation helpful? Give feedback.
All reactions