Skip to content
/ query Public

Files

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Latest commit

cf66d0d · Apr 2, 2025

History

History
22 lines (16 loc) · 540 Bytes

PauseManagerProvider.md

File metadata and controls

22 lines (16 loc) · 540 Bytes
id title
PauseManagerProvider
PauseManagerProvider

Use the PauseManagerProvider component to connect and provide a PauseManager to your application which is used to selectively disable updates:

import { PauseManager, PauseManagerProvider } from '@tanstack/react-query'

const pauseManager = new PauseManager()

function App() {
  return <PauseManagerProvider client={pauseManager}>...</PauseManagerProvider>
}

Options

  • pauseManager: PauseManager
    • Required
    • the PauseManager instance to provide