usePlatformContext()
Home > @gooddata/sdk-ui-pluggable-application > usePlatformContext
usePlatformContext() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns client platform context snapshot (or undefined if not available yet).
Signature:
export declare function usePlatformContext(): IClientPlatformContext | undefined;
Returns:
IClientPlatformContext | undefined