I am new to GraphQL and React.
My project is based on MFE where we have multiple MFE that will hooked to shell ultimately. I am tryying to access graphql endpoint from one of the MFE application ( Say it Product ) . If I execute my MFE project without shell ( Product ) things are working fine. I added <ApolloProvider client={client}>
in my product MFE.
However when I am trying to hook my MFE with module-federation to shell . it’s throwing above error. appricate if any one can help me here
In Product react app
root.render(
<StrictMode>
<ApolloProvider client={client}>
<App />
</ApolloProvider>
</StrictMode>
);
In Shell
1 const ProductUI = React.lazy(() => import('product/Module'));
2 <ProductUI />