From 8b9881b9caf32e82ca9a4955e54779d7cf0bb017 Mon Sep 17 00:00:00 2001 From: seojcarlos Date: Fri, 3 Apr 2026 03:24:06 +0200 Subject: [PATCH] docs: fix incorrect article usage (a/an) - 'an custom' -> 'a custom' in components/index.md (consonant sound) - 'a object' -> 'an object' in taintUniqueValue.md (vowel sound) --- src/content/reference/react-dom/components/index.md | 2 +- src/content/reference/react/experimental_taintUniqueValue.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/reference/react-dom/components/index.md b/src/content/reference/react-dom/components/index.md index 586663398c6..bc1694051ef 100644 --- a/src/content/reference/react-dom/components/index.md +++ b/src/content/reference/react-dom/components/index.md @@ -186,7 +186,7 @@ Non-string JavaScript values passed to custom elements will be serialized by def ``` -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: +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: diff --git a/src/content/reference/react/experimental_taintUniqueValue.md b/src/content/reference/react/experimental_taintUniqueValue.md index ea92ff6bef6..aec6ac3c490 100644 --- a/src/content/reference/react/experimental_taintUniqueValue.md +++ b/src/content/reference/react/experimental_taintUniqueValue.md @@ -91,7 +91,7 @@ experimental_taintUniqueValue( ); ``` -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. +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. ```js import {experimental_taintUniqueValue} from 'react';