-
Notifications
You must be signed in to change notification settings - Fork 1
Gotcha's
Eric Butterfield edited this page Mar 5, 2018
·
2 revisions
Below are some of the known Gotcha's we've come across thus far.
- When using jest if you get an error like:
SyntaxError: Unexpected token import. Then you need to add that folder from node_modules to the transformIgnorePatterns in thepackage.jsonfile. - Article on using Jest with Apollo
- NetInfo: (doesn't work completely on simulator)
- When using
graphql-tagif there is a syntax error it will logUncaught ReferenceError: gql is not definedeven though gql actually is defined (https://github.com/apollographql/graphql-tag/issues/148)