From d34662a8259aa5a982997411057e779b7186fe1a Mon Sep 17 00:00:00 2001 From: Dextheking1 Date: Fri, 18 Sep 2026 21:46:51 +0000 Subject: [PATCH 1/4] Capitalize Components in index.md --- src/content/learn/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/learn/index.md b/src/content/learn/index.md index ab1d12afb52..16305bd52f9 100644 --- a/src/content/learn/index.md +++ b/src/content/learn/index.md @@ -23,7 +23,7 @@ Welcome to the React documentation! This page will give you an introduction to 8 React apps are made out of *components*. A component is a piece of the UI (user interface) that has its own logic and appearance. A component can be as small as a button, or as large as an entire page. -React components are JavaScript functions that return markup: +React Components are JavaScript functions that return markup: ```js function MyButton() { From a9110f320fdb8ac4d1689221042a2142445a2cd9 Mon Sep 17 00:00:00 2001 From: Dextheking1 Date: Fri, 18 Sep 2026 21:46:53 +0000 Subject: [PATCH 2/4] Capitalize Components in your-first-component.md --- src/content/learn/your-first-component.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/learn/your-first-component.md b/src/content/learn/your-first-component.md index 81744322e60..1cceb4d6fd2 100644 --- a/src/content/learn/your-first-component.md +++ b/src/content/learn/your-first-component.md @@ -88,7 +88,7 @@ With `function Profile() { }` you define a JavaScript function with the name `Pr -React components are regular JavaScript functions, but **their names must start with a capital letter** or they won't work! +React Components are regular JavaScript functions, but **their names must start with a capital letter** or they won't work! @@ -227,7 +227,7 @@ You've just gotten your first taste of React! Let's recap some key points. * React lets you create components, **reusable UI elements for your app.** * In a React app, every piece of UI is a component. -* React components are regular JavaScript functions except: +* React Components are regular JavaScript functions except: 1. Their names always begin with a capital letter. 2. They return JSX markup. From 9b472f0e3eac3521de614416cefba5f9838045fc Mon Sep 17 00:00:00 2001 From: Dextheking1 Date: Fri, 18 Sep 2026 21:46:54 +0000 Subject: [PATCH 3/4] Capitalize Components in Component.md --- src/content/reference/react/Component.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react/Component.md b/src/content/reference/react/Component.md index f6c8cc4bf32..d28f74fde0f 100644 --- a/src/content/reference/react/Component.md +++ b/src/content/reference/react/Component.md @@ -10,7 +10,7 @@ We recommend defining components as functions instead of classes. [See how to mi -`Component` is the base class for the React components defined as [JavaScript classes.](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes) Class components are still supported by React, but we don't recommend using them in new code. +`Component` is the base class for the React components defined as [JavaScript classes.](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes) Class Components are still supported by React, but we don't recommend using them in new code. ```js class Greeting extends Component { From 9a32c88e8b11ec8fa5c127d62ffe002bcca2c934 Mon Sep 17 00:00:00 2001 From: Dextheking1 Date: Fri, 18 Sep 2026 21:46:56 +0000 Subject: [PATCH 4/4] Capitalize Components in PureComponent.md --- src/content/reference/react/PureComponent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react/PureComponent.md b/src/content/reference/react/PureComponent.md index 3e2d074e10d..3e8b556a8fa 100644 --- a/src/content/reference/react/PureComponent.md +++ b/src/content/reference/react/PureComponent.md @@ -10,7 +10,7 @@ We recommend defining components as functions instead of classes. [See how to mi -`PureComponent` is similar to [`Component`](/reference/react/Component) but it skips re-renders for same props and state. Class components are still supported by React, but we don't recommend using them in new code. +`PureComponent` is similar to [`Component`](/reference/react/Component) but it skips re-renders for same props and state. Class Components are still supported by React, but we don't recommend using them in new code. ```js class Greeting extends PureComponent {