@tanstack/react-db
Version:
React integration for @tanstack/db
21 lines (18 loc) • 632 B
text/typescript
// Re-export all public APIs
export { useLiveQuery } from './useLiveQuery'
export type {
LiveQueryKey,
UseLiveQueryConfig,
UseLiveQueryStatus,
} from './useLiveQuery'
export * from './DbProvider'
export * from './HydrationBoundary'
export * from './useLiveSuspenseQuery'
export * from './usePacedMutations'
export * from './useLiveInfiniteQuery'
export * from './useLiveQueryEffect'
// Re-export everything from @tanstack/db
export * from '@tanstack/db'
// Re-export some stuff explicitly to ensure the type & value is exported
export type { Collection } from '@tanstack/db'
export { createTransaction } from '@tanstack/db'