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