usePrevious()
usePrevious<
T
>(value
):null
|T
Returns the prop value from the last render.
Adapted from https://usehooks.com/usePrevious/.
Type Parameters
Type Parameter |
---|
T |
Parameters
Parameter | Type |
---|---|
value | T |
Returns
null
| T
Defined in
packages/react-querybuilder/src/hooks/usePrevious.ts:9
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.