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

Render as you Fetch? #30

Open
maraisr opened this issue Jun 30, 2020 · 2 comments
Open

Render as you Fetch? #30

maraisr opened this issue Jun 30, 2020 · 2 comments
Labels
question Further information is requested

Comments

@maraisr
Copy link

maraisr commented Jun 30, 2020

Do these resources go in-flight when the route transitions, but parallel to fetching async code? Definitely keen to try this out!

@rohan-deshpande
Copy link
Collaborator

Yep. Resources are requested immediately on transitioning into the next route as long as they have not been previously cached and are outside the maxAge value.

@maraisr
Copy link
Author

maraisr commented Jul 1, 2020

I won't then if this plays nicely into Relay's EntryPoints and preloaded queries. We use relay, and have its render as you fetch working, but preloaded fire for all routes naturally. Which led me here.

@albertogasparin albertogasparin added the question Further information is requested label Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants