Search
Preparing search index...
The search index is not available
@liinkiing/use-socket
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"hooks/provider"
External module "hooks/provider"
Index
Interfaces
Props
Variables
Socket
Context
Functions
Socket
Provider
Variables
Const
Socket
Context
Socket
Context
:
Context
<
null
|
Socket
>
= createContext<SocketIOClient.Socket | null>(null)
Functions
Const
Socket
Provider
Socket
Provider
(
props
:
Props
&
object
)
:
FunctionComponentElement
<
ProviderProps
<
null
|
Socket
>
>
Parameters
props:
Props
&
object
Returns
FunctionComponentElement
<
ProviderProps
<
null
|
Socket
>
>
Globals
"hooks/provider"
"hooks/use
Socket"
"hooks/use
Socket
Emit"
"hooks/use
Socket
On"
"index"
Props
Socket
Context
Socket
Provider
Generated using
TypeDoc