usePlatformContextStrict()
Home > @gooddata/sdk-ui-pluggable-application > usePlatformContextStrict
usePlatformContextStrict() function
Returns client platform context snapshot and throws if it's not available.
Signature:
export declare function usePlatformContextStrict(context?: string): IClientPlatformContext;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
context |
string |
(Optional) |
Returns: