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!