apollo-client: Latest version of React Native + Apollo Stack doesn't work.
Following this example I’m able to get Apollo working: https://github.com/apollostack/apollo-client/issues/147#issuecomment-214903672
But then, this happens:
$export is not a function. (In '$export($export.S+$export.F*~require(740 /* ./_descriptors*/),'Object',
...
Thus the React Native app cannot run with Apollo.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 21 (9 by maintainers)
Commits related to this issue
- Merge pull request #261 from holman/patch-1 Minor typo fix — committed to apollographql/apollo-client by deleted user 7 years ago
@saeho Any news on this? Did you file an issue or make a PR to graphql-js?
@tychota yes ideally we would want graphql to be more modular in their export. I also even tried to attempt the solution like that, but since we use these 2 functions only, I felt that it was too much work to sign up for to unblock our project
https://github.com/apollostack/graphql-tag/pull/3
Here is the PR. We just bundle parser and printer, and if graphql does change this we can always rebundle.