Class: ClientAdapter
@evolv/react.ClientAdapter
Constructors
constructor
• new ClientAdapter(options
, hydratedState?
)
Parameters
Name | Type |
---|---|
options | EvolvClientOptions |
hydratedState? | Record <string , any > |
Accessors
client
• get
client(): EvolvClient
Returns
hydratedState
• get
hydratedState(): Record
<string
, any
>
Returns
Record
<string
, any
>
isBrowser
• get
isBrowser(): boolean
Returns
boolean
Methods
emit
▸ emit(event
): void
Parameters
Name | Type |
---|---|
event | string |
Returns
void
hydrate
▸ hydrate(): Promise
<void
>
Returns
Promise
<void
>
initialize
▸ initialize(uid
, remoteContext?
, localContext?
): void
Parameters
Name | Type |
---|---|
uid | string |
remoteContext? | Record <string , any > |
localContext? | Record <string , any > |
Returns
void