Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document which versions of Relay this library works with? #563

Open
gajus opened this issue Sep 21, 2020 · 4 comments
Open

Document which versions of Relay this library works with? #563

gajus opened this issue Sep 21, 2020 · 4 comments

Comments

@gajus
Copy link

gajus commented Sep 21, 2020

e.g, Does it work with Relay hooks API?

@jquense
Copy link
Contributor

jquense commented Sep 21, 2020

Should work with any version of relay, this is just tools for implementing the backend bits relay requires which don't change much

@Boeing787
Copy link

@jquense what @gajus is referring to is react-relay/hooks (the experimental, suspense-based API) and not relay-tools/relay-hooks. I am going to venture a guess that found-relay is not compatible with React concurrent mode (definitely willing to be wrong on this one) since I cannot find any indications of suspension in this repo.

Do you know any information about if react-relay/hooks and found-relay can work together side-by-side? Or, am I thinking about this completely wrong? Appreciate your time.

@jquense
Copy link
Contributor

jquense commented Sep 22, 2020

Oop sorry, got my repos mixed up. Found relay is compatible with the experimental relay and concurrent mode, but doesn't use suspense internally. Hopefully when it's a bit more stable all around we can simplify a lot of the code here

@Boeing787
Copy link

@jquense That is super great news. We will have a go at this and report back. Gajus and I appreciate your support today! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants