Function: useDebouncedData()
useDebouncedData<
T
>(data
,deps
,timeoutMs
):T
[]
Hack to prevent data updates for incomplete callbacks from Firestore triggers. If any deps change, the update is immediate
Type Parameters​
• T
Parameters​
• data: T
[]
• deps: any
• timeoutMs: number
= 5000
Returns​
T
[]
Defined in​
packages/firecms_core/src/components/common/useDebouncedData.ts:12