Skip to content

Commit 417fe2c

Browse files
committed
Fix a/an grammar errors in reference docs
1 parent 7c36f7a commit 417fe2c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/content/reference/react-dom/components/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Non-string JavaScript values passed to custom elements will be serialized by def
186186
<my-element value={[1,2,3]}></my-element>
187187
```
188188

189-
React will, however, recognize an custom element's property as one that it may pass arbitrary values to if the property name shows up on the class during construction:
189+
React will, however, recognize a custom element's property as one that it may pass arbitrary values to if the property name shows up on the class during construction:
190190

191191
<Sandpack>
192192

src/content/reference/react/experimental_taintUniqueValue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ experimental_taintUniqueValue(
9191
);
9292
```
9393

94-
If the tainted value's lifespan is tied to a object, the `lifetime` should be the object that encapsulates the value. This ensures the tainted value remains protected for the lifetime of the encapsulating object.
94+
If the tainted value's lifespan is tied to an object, the `lifetime` should be the object that encapsulates the value. This ensures the tainted value remains protected for the lifetime of the encapsulating object.
9595

9696
```js
9797
import {experimental_taintUniqueValue} from 'react';

0 commit comments

Comments
 (0)