From 465fb10b4018b55c0cc876855fc4a746ba2daeda Mon Sep 17 00:00:00 2001 From: Ken Depelchin Date: Thu, 12 Jan 2023 11:23:03 -0800 Subject: [PATCH] Fix typo in tutorial (#4184) Summary: Fixed a minor typo `intecation` => `interaction` Pull Request resolved: https://github.com/facebook/relay/pull/4184 Reviewed By: alunyov Differential Revision: D42476499 Pulled By: rbalicki2 fbshipit-source-id: 04ff71eb80203d98f5ea1a1ed259c6bb335247f1 --- website/versioned_docs/version-v14.0.0/tutorial/queries-2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/versioned_docs/version-v14.0.0/tutorial/queries-2.md b/website/versioned_docs/version-v14.0.0/tutorial/queries-2.md index ed962565eeab0..943272f75e4c4 100644 --- a/website/versioned_docs/version-v14.0.0/tutorial/queries-2.md +++ b/website/versioned_docs/version-v14.0.0/tutorial/queries-2.md @@ -16,7 +16,7 @@ In this section we’ll add a hovercard to `PosterByline` so that you can see mo
Deep dive: When to use a secondary query -We've mentioned before that Relay is designed to help you fetch all of your data requirements for an entire screen up-front. But we can generalize this and say that it's a *user interaction* that should have at most one query. Navigating to another screen is just one common type of user intecation. +We've mentioned before that Relay is designed to help you fetch all of your data requirements for an entire screen up-front. But we can generalize this and say that it's a *user interaction* that should have at most one query. Navigating to another screen is just one common type of user interaction. Within a screen, some interactions may disclose additional data from what was shown initially. If an interaction is performed relatively rarely, but needs a significant amount of additional data, it can be smart to fetch that additional data in a second query, performed when the interaction happens, rather than up-front when the screen is first loaded. This makes that initial load faster and less expensive.