useQuery with refetch vs useLazyQuery with useEffect const [func] = useLazyQuery(QUERY, { oncompleted: (res) => { // callback function } }) 참고 링크 1. useQuery refetch https://www.apollographql.com/docs/react/data/queries/#refetching Queries Fetch data with the useQuery hook www.apollographql.com 2. useQuery params https://www.apollographql.com/docs/react/api/react/hooks/#result Hooks Apollo Clien..