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.
index.js
use-sync-external-store/shim
1 parent 1f7dd10 commit da489efCopy full SHA for da489ef
core/src/use-swr.ts
@@ -5,7 +5,7 @@ import ReactExports, {
5
useDebugValue,
6
useMemo
7
} from 'react'
8
-import { useSyncExternalStore } from 'use-sync-external-store/shim'
+import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'
9
10
import {
11
defaultConfig,
infinite/src/index.ts
@@ -33,7 +33,7 @@ import type {
33
SWRInfiniteCacheValue,
34
SWRInfiniteCompareFn
35
} from './types'
36
37
import { getFirstPageKey } from './serialize'
38
39
// const INFINITE_PREFIX = '$inf$'
0 commit comments