Skip to content

Support Relay v2.0.0 #159

@johntran

Description

@johntran

Hi there,

At the time of writing this issue, Relay is on 1.7.0-rc.1, so it is a little early to fix.

I attempted to load up Relay 1.7.0-rc.1 with found-relay, and it is erroring here:

https://github.com/facebook/relay/blob/98e866f5e0fc3548f0577bf081df0507832b15f9/packages/react-relay/modern/buildReactRelayContainer.js#L80

with an error of .unstable_read is not a function

I think its because found-relay expects the legacy Context API, while Relay is using the new Context in React 16.

Reference to Context.unstable_read: facebook/react#13139

Any thoughts?

Though it is possible that its not a problem of found-relay, but its just that the Relay master branch is unstable. I thought it would be related to found-relay because its erroring on components that are used as routes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions