additionalReduxContext
Home > @gooddata/sdk-ui-dashboard > IDashboardExtensionProps > additionalReduxContext
IDashboardExtensionProps.additionalReduxContext property
Pass instance of ReactReduxContext where the dashboard component's store should be saved.
Signature:
additionalReduxContext?: React.Context<ReactReduxContextValue>;
Remarks
This is essential if you are dynamically loading dashboard engine and then enriching the dashboard with embedded, local plugins. If such plugins are compiled against sdk-ui-dashboard and use Redux hooks (useDashboardSelect, useDashboardDispatch) then your solution will not work unless you explicitly send your application's ReactDashboardContext
into this prop.
Note: there is no need to use this prop unless you are dynamically loading the engine bundle.