Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a showcase of the experimental version of Relay, which hopefully provides a nicer API than the stable version's docs would suggest. If time allows it, I might also produce one with the stable version.
Some interesting things to note and/or consider:
__generated__
paths for the modules defining the types for the queries can be changed, IIUCthrow
errors which we need to handle usingSuspense
and error boundariesMovie
IDs to be stringsreact
andreact-dom
) as wellrelay-config
seems overkill, but we can roll our own solution to factoring out the Relay compiler config if we want to get rid of the extra depgraphql
dependency because of Module not found: Error: Must provide Source relay-tools/relay-compiler-webpack-plugin#56npm dedupe
to make sure that there is only one physical version of the package in thenode_modules
-tree