Dotloom TypeScript API
Preparing search index...
react/src
useRevisionQuery
Function useRevisionQuery
useRevisionQuery
<
T
>
(
fetch
:
(
engine
:
DotloomEngine
)
=>
Promise
<
T
>
,
deps
?:
unknown
[]
,
)
:
T
|
null
Fetch something whenever the committed revision changes (latest result wins).
Type Parameters
T
Parameters
fetch
:
(
engine
:
DotloomEngine
)
=>
Promise
<
T
>
deps
:
unknown
[]
= []
Returns
T
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Dotloom TypeScript API
Loading...
Fetch something whenever the committed revision changes (latest result wins).