使用 useQuery 并设置 onCompleted: 无限循环。

作者: vendramini创建于 2020年7月17日更新于 2020年7月17日

你好! 在更新到 v3 之前,我有以下代码:

内容来源: apollographql/react-apollo