Skip to main content

useControlledOrUncontrolled()

useControlledOrUncontrolled(params): void

Logs a warning when the component changes from controlled to uncontrolled, vice versa, or both query and defaultQuery are provided.

Parameters

ParameterType
paramsUseControlledOrUncontrolledParams

Returns

void

Defined in

packages/react-querybuilder/src/hooks/useControlledOrUncontrolled.ts:15


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.