Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

useSyncExternalStore.ts

5 lines249 Bytes

1'use client'
2// Temporary workaround due to an issue with react-native uSES - https://github.com/TanStack/query/pull/3601
3import { useSyncExternalStore as uSES } from 'use-sync-external-store/shim/index.js'
4​
5export const useSyncExternalStore = uSES