Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

brysgo/relay-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Relay Example

This is an example of how I use relayjs, it includes the way I mix in client only schema. This is a work in progress, and may have mistakes because I wrote it without referencing the actual use cases where these patterns arose.

Usage

Mostly everything is the same as a regular CRA app.

Run it with:

yarn start

To run the relay compiler, use:

yarn relay

Graphql files in the src directory get loaded for client only use, as you see in src/clientExtensions.graphql.

You can also run yarn relay -u <api-url> to have it grab the remote schema and pull it down for you.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published