我正在使用 useQuery 挂钩来调用 grahql 查询,但收到此错误 - /
RangeError: Maximum call stack size exceeded
readFromStore.ts:487
484 | execResults.forEach(execResult => {
485 | if (execResult.missing) {
486 | missing = missing || [];
> 487 | missing.push(...execResult.missing);
| ^ 488 | }
489 | });
490 | return {
我正在使用获取策略 cahce-first 从 cahce 加载数据(如果可用)。
如果我刷新页面它工作正常。我认为这与缓存有关。但我已经在使用最新版本的 apollo-cache-inmemory。