ecsia-monorepo / react/src / useQueryFirst
Function: useQueryFirst()
ts
function useQueryFirst(...terms): EntityHandle | undefined;Defined in: react/src/hooks.ts:35
The first handle matching terms, or undefined. Same re-render cut as useQuery.
Parameters
| Parameter | Type |
|---|---|
...terms | readonly QueryTerm[] |
Returns
EntityHandle | undefined