Accessing Dash Mapbox graph context from own React component

I am working with a python code that has some visualizations made with Dash.
Now, it appears that I’d really benefit from having access to the mapbox context also from my own Dash boilerplate code based React component, in order to access some of the mapbox features that are not yet available on Dash side, or even on react mapbox gl side?

Is there a way to e.g. pass mapbox context to my component?