I have a component (popup) that renders outside of the tree (aka portal), therefore losing the context of IntlProvider
:
<IntlProvider locale="en">
<App />
</IntlProvider>
// * <- renders here
Redux solves the same issue by allowing to pass store instance as a prop for the component:
import store from "./store";
const Component = () => <Popup store={store} />;
Is there a similar approach I can use for ReactIntl?