@dxos/react-client
Preparing search index...
echo
useSchema
Variable useSchema
Const
useSchema
:
<
T
extends
Type
.
Entity
.
Any
=
Type
.
Entity
.
Any
>
(
db
?:
Database
.
Database
,
typename
?:
string
,
)
=>
T
|
undefined
Subscribe to and retrieve schema changes from a space's schema registry.
Type declaration
<
T
extends
Type
.
Entity
.
Any
=
Type
.
Entity
.
Any
>
(
db
?:
Database
.
Database
,
typename
?:
string
,
)
:
T
|
undefined
Type Parameters
T
extends
Type
.
Entity
.
Any
=
Type
.
Entity
.
Any
Parameters
Optional
db
:
Database
.
Database
Optional
typename
:
string
Returns
T
|
undefined
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@dxos/react-client
Loading...
Subscribe to and retrieve schema changes from a space's schema registry.