Created by: saintsjd
Here is a first pass at support for relay in create-react-app from @maxwell-oroark and me. This is issue #462 (closed) . This pull request works for both local development server and for builds. I have tested following the CONTRIBUTING.md guide (both with npm start
and npm run create-react-app my-app
).
For instructions on how to get relay going, refer to template/README.md.
There are some todos outstanding:
- test in eject mode
- support graphql-config instead of just an environment variable for REACT_APP_GRAPHQL_URL
- better formatting on error messages
Please review and let me know your thoughts.