relay icon indicating copy to clipboard operation
relay copied to clipboard

Relay Entrypoints Documentation

Open outerlook opened this issue 5 years ago • 7 comments

Hi!

Didn't find it as an issue, so I think it would be nice to have one for tracking "Relay Entrypoints API" documentation situation.

https://relay.dev/docs/en/a-guided-tour-of-relay#preloading-data-for-transitions-in-parallel-with-code-client-preloading

In order to do so, we can use Relay EntryPoints, which are a set of APIs for efficiently loading both the code and data dependencies of any view in parallel. Check out our api reference for Entry Points:

It raises some interest on solving this particular parallelization problem. Maybe I didn't get it right, but I didn't find its documentation anywhere. Is this too experimental, and will be improved before releasing some examples?

outerlook avatar Jul 29 '20 10:07 outerlook

Yup, this feature is currently not covered by the Relay docs; we plan to include EntryPoints when the relay-experimental package is stable. For now, please see our talk about this at ReactConf 2019 and accompanying blog post.

josephsavona avatar Jul 29 '20 13:07 josephsavona

Thanks, @josephsavona

outerlook avatar Jul 29 '20 13:07 outerlook

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 25 '20 14:12 stale[bot]

Hello any updates on docs to this or any code snippets ?

damikun avatar Feb 08 '21 16:02 damikun

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 09 '22 16:01 stale[bot]

Hello any updates on docs to this or any code snippets ?

I managed to put together a working example with entrypoint if you need some reference. https://github.com/dohaicuong/relay-times/tree/master/relay-entrypoint/src/features/posts

dohaicuong avatar Jun 19 '22 07:06 dohaicuong

Duplicate here: https://github.com/facebook/relay/issues/3214

steinybot avatar Feb 12 '24 03:02 steinybot