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

Update to use Relay's hook API #616

Open
multimeric opened this issue Aug 5, 2021 · 0 comments
Open

Update to use Relay's hook API #616

multimeric opened this issue Aug 5, 2021 · 0 comments

Comments

@multimeric
Copy link

It seems that all the examples in the readme and indeed the example repo use the old createFragmentContainer API, which is no longer recommended: https://relay.dev/blog/2021/03/09/introducing-relay-hooks.

It would be great to have an example (perhaps a new branch in the todomvc repo?) explaining how to do this, because I'm totally lost. In particular the idea of "fragment references" and how to pass them into the top level components is confusing to me.

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

1 participant