Home > @findkit/ui > PreactFunctions > useContext

PreactFunctions.useContext() method

Signature:

useContext<T>(this: void, context: Context<T>): T;

Parameters

Parameter Type Description
this void
context Context<T>

Returns:

T