Skip to main content

getRqbStore()

getRqbStore(devTools?: boolean): RqbStore

Defined in: packages/react-querybuilder/src/redux/getRqbStore.ts:17

Gets the singleton React Query Builder store instance. DevTools are enabled if either:

  • globalThis.RQB_DEVTOOLS is truthy
  • window.RQB_DEVTOOLS is truthy

Parameters

ParameterType
devTools?boolean

Returns

RqbStore


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.