La referencia de la API está disponible solo en inglés por ahora.

HubContext

variable
devtools-ui/src/context/HubContext.ts:39

React context for the DevTools hub connection.

The context ships with an inert default value so that components rendered outside of a HubProvider do not throw. Consumers should always wrap their tree in a provider before relying on the context value.

Definition

const
const HubContext: Context<HubContextValue>

Context<HubContextValue>