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
I've run into a few situations where conditionally executing a query would be very beneficial, for instance when one query returns the ID of the logged in user, and another query would then fetch some more user data based on that ID.
At the moment the (only?) way to do this is to create a component for the query and then conditionally render that. Implementing Apollo's skip option could make this a lot easier 🙂
I've run into a few situations where conditionally executing a query would be very beneficial, for instance when one query returns the ID of the logged in user, and another query would then fetch some more user data based on that ID.
At the moment the (only?) way to do this is to create a component for the query and then conditionally render that. Implementing Apollo's
skip
option could make this a lot easier 🙂Maybe some prior art here trojanowski/react-apollo-hooks#42
The text was updated successfully, but these errors were encountered: