Use Relay
Created by: lukejagodzinski
Hi, is it possible to use Relay
with create-react-app
without ejecting project and messing with webpack configuration?
I get the following error in the console:
invariant.js:38 Uncaught Invariant Violation: RelayQL: Unexpected invocation at runtime. Either the Babel transform was not set up, or it failed to identify this call site. Make sure it is being used verbatim as `Relay.QL`.
I was looking for solution and it seems to be problem with lack of Relay.QL transpiler in the Babel configuration. But all these projects were not created with create-react-app
cli. From what I know it's not possible to mess with webpack configuration until I eject a project.