question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest version of React Native + Apollo Stack doesn't work.

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
helfercommented, Jun 12, 2016

@saeho Any news on this? Did you file an issue or make a PR to graphql-js?

2reactions
abhiaiyer91commented, Jul 2, 2016

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Integrating with React Native - Apollo GraphQL Docs
Install React Native Debugger and open it. Enable "Debug JS Remotely" in your app. If you don't see the Developer Tools panel or...
Read more >
my loading is forever "True" · Issue #9668 · apollographql ...
Version 3.5.10 works fine. Anything from 3.6.x, including 3.6.3 does not return any data (everything is stuck in loading).
Read more >
Apollo GraphQL Client does not work on release build in react ...
Try using isomorphic-fetch instead of fetch.
Read more >
Invalid Hook Call Warning - React
There are three common reasons you might be seeing it: You might have mismatching versions of React and React DOM. You might be...
Read more >
How to Integrate GraphQL and Apollo Client in a React Native ...
After you run these two commands you should be ready to go. Let's start implementing the app! Set up a Stack Navigator. In...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found