I’m using Apollo in conjunction with wix/react-native-navigation and I was wondering is it possible to wrap the root component created by
Navigation.startSingleScreenApp in an
ApolloProvider component? I’ve tried putting the
Navigation.startSingleScreenApp within the render method of another component and enclosing it in
ApolloProvider but that didn’t work. Has anyone had any experience using these two together?
I’m wondering if each component registered with
Navigation.registerComponent has its own separate root component and if that’s the case I have to enclose each component I register with
ApolloProvider, possibly using a higher order component? I’d appreciate any thoughts or example code anyone could provide! Thanks in advance.