found-relay icon indicating copy to clipboard operation
found-relay copied to clipboard

Update to use Relay's hook API

Open multimeric opened this issue 4 years ago • 1 comments

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.

multimeric avatar Aug 05 '21 11:08 multimeric

#638 opened to post the question on the status of the project in part by the fact this is open + over three years old.

jufemaiz avatar Oct 08 '24 07:10 jufemaiz