rsjolundchas
rsjolundchas
> Yes that's the way, by handling the OAuth redirect URL with a listener that finally navigates to the another view once the flow is done, typically your app's home...
This seems to work, but I don't really know if its the right approach. ``` function foo() { const [variables, setVariables] = useState({}); const { data, loading } = useQuery(SOME_GRAPHQL_SCHEMA,...
Thanks for your reply. I came up with a different approach to prevent having to set JSX based on loading props, which seems messy to me. I instead made a...
I ended up giving up just using useApolloClient() (which actually makes more sense in my case),
I ended up using `useEffect `and `refetch()` when variables change. Don't know if this is the right approach.
> @rsjolundchas how did you use `refetch()` excatly? Like in my post above > This seems to work, but I don't really know if its the right approach. > >...
I think I ended up looking at parts of the object actually. I am at i new assignment right now so i can't check. But something like: ``` useEffect(() =>...
> Hitting this as well, and I hit the useEffect/refetch issue (infinite fetching), so this is a bug then? I thought I was going crazy How does your code look?...