Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8c30f80

Browse filesBrowse files
gameromanfacebook-github-bot
authored andcommitted
A couple grammar fixes (#5008)
Summary: Pull Request resolved: #5008 Reviewed By: evanyeung Differential Revision: D75637174 Pulled By: captbaritone fbshipit-source-id: 614ac6c9c2e84704fc3656a8ea85dd87913ee7d9
1 parent 6ab766a commit 8c30f80
Copy full SHA for 8c30f80

14 files changed

+14-14Lines changed: 14 additions & 14 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-relay/relay-hooks/loadQuery.js‎

Copy file name to clipboardExpand all lines: packages/react-relay/relay-hooks/loadQuery.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function loadQuery<
126126
let networkError = null;
127127
// makeNetworkRequest will immediately start a raw network request if
128128
// one isn't already in flight and return an Observable that when
129-
// subscribed to will replay the network events that have occured so far,
129+
// subscribed to will replay the network events that have occurred so far,
130130
// as well as subsequent events.
131131
let didMakeNetworkRequest = false;
132132
const makeNetworkRequest = (
Collapse file

‎packages/react-relay/relay-hooks/useEntryPointLoader.js‎

Copy file name to clipboardExpand all lines: packages/react-relay/relay-hooks/useEntryPointLoader.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ hook useLoadEntryPoint<
158158
useEffect(() => {
159159
return () => {
160160
// Attempt to detect if the component was
161-
// hidden (by Offscreen API), or fast refresh occured;
161+
// hidden (by Offscreen API), or fast refresh occurred;
162162
// Only in these situations would the effect cleanup
163163
// for "unmounting" run multiple times, so if
164164
// we are ever able to read this ref with a value
Collapse file

‎packages/react-relay/relay-hooks/useLazyLoadQueryNode.js‎

Copy file name to clipboardExpand all lines: packages/react-relay/relay-hooks/useLazyLoadQueryNode.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ hook useLazyLoadQueryNode<TQuery: OperationType>({
7878
useEffect(() => {
7979
return () => {
8080
// Attempt to detect if the component was
81-
// hidden (by Offscreen API), or fast refresh occured;
81+
// hidden (by Offscreen API), or fast refresh occurred;
8282
// Only in these situations would the effect cleanup
8383
// for "unmounting" run multiple times, so if
8484
// we are ever able to read this ref with a value
Collapse file

‎packages/react-relay/relay-hooks/usePreloadedQuery.js‎

Copy file name to clipboardExpand all lines: packages/react-relay/relay-hooks/usePreloadedQuery.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ hook usePreloadedQuery<
126126
// context, we cannot re-use the existing preloaded query.
127127
// Instead, we need to fall back and re-execute and de-dupe the query with
128128
// the new environment (at render time).
129-
// TODO T68036756 track occurences of this warning and turn it into a hard error
129+
// TODO T68036756 track occurrences of this warning and turn it into a hard error
130130
warning(
131131
false,
132132
'usePreloadedQuery(): usePreloadedQuery was passed a preloaded query ' +
Collapse file

‎packages/react-relay/relay-hooks/useQueryLoader.js‎

Copy file name to clipboardExpand all lines: packages/react-relay/relay-hooks/useQueryLoader.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ hook useQueryLoader_CURRENT<
236236
useEffect(() => {
237237
return () => {
238238
// Attempt to detect if the component was
239-
// hidden (by Offscreen API), or fast refresh occured;
239+
// hidden (by Offscreen API), or fast refresh occurred;
240240
// Only in these situations would the effect cleanup
241241
// for "unmounting" run multiple times, so if
242242
// we are ever able to read this ref with a value
Collapse file

‎website/blog/2023-03-30-relay-15.mdx‎

Copy file name to clipboardExpand all lines: website/blog/2023-03-30-relay-15.mdx
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Typesafe updaters now support missing field handlers. Previously, if you selecte
6262

6363
In this release, we add support for missing field handlers in typesafe updaters, meaning that if a missing field handler is set up for node (as in [this example](https://relay.dev/docs/next/guided-tour/reusing-cached-data/filling-in-missing-data/#internaldocs-banner)), you will be able to update the user's name with this missing field handler.
6464

65-
In order to support this, the signature of [missing field handlers](https://relay.dev/docs/guided-tour/reusing-cached-data/filling-in-missing-data) has been changed. The `record` argument to the handler used to recieve a `Record` type (which is an untyped grab-bag of data). It now receives a `ReadOnlyRecordProxy`. Furthermore, the field argument of type `NormalizationLinkedField` is now `CommonLinkedField`, which is a type containing the properties found in both `ReaderLinkedField` and `NormalizationLinkedField`.
65+
In order to support this, the signature of [missing field handlers](https://relay.dev/docs/guided-tour/reusing-cached-data/filling-in-missing-data) has been changed. The `record` argument to the handler used to receive a `Record` type (which is an untyped grab-bag of data). It now receives a `ReadOnlyRecordProxy`. Furthermore, the field argument of type `NormalizationLinkedField` is now `CommonLinkedField`, which is a type containing the properties found in both `ReaderLinkedField` and `NormalizationLinkedField`.
6666

6767
### Flow type improvements
6868

Collapse file

‎website/versioned_docs/version-v14.0.0/glossary/glossary.md‎

Copy file name to clipboardExpand all lines: website/versioned_docs/version-v14.0.0/glossary/glossary.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ An object associating a [concrete request](#concrete-request) and [variables](#v
793793
794794
## Resolver
795795
796-
An overloaded term, mostly referring to virtual fields, but also occassionally referring to other things.
796+
An overloaded term, mostly referring to virtual fields, but also occasionally referring to other things.
797797
798798
### When describing a field
799799
Collapse file

‎website/versioned_docs/version-v14.0.0/guided-tour/updating-data/graphql-subscriptions.md‎

Copy file name to clipboardExpand all lines: website/versioned_docs/version-v14.0.0/guided-tour/updating-data/graphql-subscriptions.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Spreading fragments is generally preferable to refetching the data in response t
175175
In addition to writing updated data to the Relay store, we may want to execute a callback whenever a subscription payload is received. We may want to execute a callback if an error is received or if an error is received or if the server ends the subscription. The `GraphQLSubscriptionConfig` can include the following fields to handle such cases:
176176

177177
* `onNext`, a callback that is executed when a subscription payload is received. It is passed the subscription response (stopping at fragment spread boundaries).
178-
* `onError`, a callback that is executed when the subscription errors. It is passed the error that occured.
178+
* `onError`, a callback that is executed when the subscription errors. It is passed the error that occurred.
179179
* `onCompleted`, a callback that is executed when the server ends the subscription.
180180

181181
## Declarative mutation directives
Collapse file

‎website/versioned_docs/version-v15.0.0/glossary/glossary.md‎

Copy file name to clipboardExpand all lines: website/versioned_docs/version-v15.0.0/glossary/glossary.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ An object associating a [concrete request](#concrete-request) and [variables](#v
790790
791791
## Resolver
792792
793-
An overloaded term, mostly referring to virtual fields, but also occassionally referring to other things.
793+
An overloaded term, mostly referring to virtual fields, but also occasionally referring to other things.
794794
795795
### When describing a field
796796
Collapse file

‎website/versioned_docs/version-v15.0.0/guided-tour/updating-data/graphql-subscriptions.md‎

Copy file name to clipboardExpand all lines: website/versioned_docs/version-v15.0.0/guided-tour/updating-data/graphql-subscriptions.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Spreading fragments is generally preferable to refetching the data in response t
175175
In addition to writing updated data to the Relay store, we may want to execute a callback whenever a subscription payload is received. We may want to execute a callback if an error is received or if an error is received or if the server ends the subscription. The `GraphQLSubscriptionConfig` can include the following fields to handle such cases:
176176

177177
* `onNext`, a callback that is executed when a subscription payload is received. It is passed the subscription response (stopping at fragment spread boundaries).
178-
* `onError`, a callback that is executed when the subscription errors. It is passed the error that occured.
178+
* `onError`, a callback that is executed when the subscription errors. It is passed the error that occurred.
179179
* `onCompleted`, a callback that is executed when the server ends the subscription.
180180

181181
## Declarative mutation directives

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.