We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
useReactiveVar
1 parent 1d165ba commit e0d769eCopy full SHA for e0d769e
src/react/hooks/useReactiveVar.ts
@@ -10,7 +10,8 @@ import { useSyncExternalStore } from "./useSyncExternalStore.js";
10
* @example
11
*
12
* ```jsx
13
- * import { makeVar, useReactiveVar } from "@apollo/client";
+ * import { makeVar } from "@apollo/client";
14
+ * import { useReactiveVar } from "@apollo/client/react";
15
* export const cartItemsVar = makeVar([]);
16
17
* export function Cart() {
0 commit comments