Skip to content

Commit

Permalink
Fix typo in tutorial (#4184)
Browse files Browse the repository at this point in the history
Summary:
Fixed a minor typo
`intecation` => `interaction`

Pull Request resolved: #4184

Reviewed By: alunyov

Differential Revision: D42476499

Pulled By: rbalicki2

fbshipit-source-id: 04ff71eb80203d98f5ea1a1ed259c6bb335247f1
  • Loading branch information
kendepelchin authored and facebook-github-bot committed Jan 12, 2023
1 parent 7156070 commit 465fb10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In this section we’ll add a hovercard to `PosterByline` so that you can see mo
<details>
<summary>Deep dive: When to use a secondary query</summary>

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.

Expand Down

0 comments on commit 465fb10

Please sign in to comment.