Using distinct state containers (global/local) for the same component

Hi there,

let's say I have a custom Kibana plugin that should access global (_g) as well as application-specific state. To do so, have have created two state containers via createStateContainer from create_state_container.ts.

I'd like to use connect from create_state_container_react_helpers.ts to map the state to a React component's props, but I can't seem to figure out how to merge app-specific and global state (connect only seems to support a single state container).

Any hints how to achieve this are much appreciated!

First off, I would start off by providing you the link to the plugin development documentation .

Am copying few experts here who may take a look at your question and provide inputs when feasible .
cc @spalger @lukeelmers

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.