From a4ab4faecf42a36efd8828d6b75cd2e2b883e46a Mon Sep 17 00:00:00 2001 From: Chris Barile Date: Fri, 21 Nov 2025 11:55:02 -0500 Subject: [PATCH 1/4] Fixes flow in the end of handling text input --- docs/handling-text-input.md | 4 +++- website/versioned_docs/version-0.82/handling-text-input.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/handling-text-input.md b/docs/handling-text-input.md index 2345d089c7e..4c5576ca7a1 100644 --- a/docs/handling-text-input.md +++ b/docs/handling-text-input.md @@ -43,4 +43,6 @@ In this example, we store `text` in the state, because it changes over time. There are a lot more things you might want to do with a text input. For example, you could validate the text inside while the user types. For more detailed examples, see the [React docs on controlled components](https://react.dev/reference/react-dom/components/input#controlling-an-input-with-a-state-variable), or the [reference docs for TextInput](textinput.md). -Text input is one of the ways the user interacts with the app. Next, let's look at another type of input and [learn how to handle touches](handling-touches.md). +A TextInput is one of many ways for the user to interact with your app. For examples of other ways to handle input, see the documentation on [how to handle touches](handling-touches.md). + +Now let's take a look at [ScrollView](using-a-scrollview) which is another Core Component. \ No newline at end of file diff --git a/website/versioned_docs/version-0.82/handling-text-input.md b/website/versioned_docs/version-0.82/handling-text-input.md index 2345d089c7e..4c5576ca7a1 100644 --- a/website/versioned_docs/version-0.82/handling-text-input.md +++ b/website/versioned_docs/version-0.82/handling-text-input.md @@ -43,4 +43,6 @@ In this example, we store `text` in the state, because it changes over time. There are a lot more things you might want to do with a text input. For example, you could validate the text inside while the user types. For more detailed examples, see the [React docs on controlled components](https://react.dev/reference/react-dom/components/input#controlling-an-input-with-a-state-variable), or the [reference docs for TextInput](textinput.md). -Text input is one of the ways the user interacts with the app. Next, let's look at another type of input and [learn how to handle touches](handling-touches.md). +A TextInput is one of many ways for the user to interact with your app. For examples of other ways to handle input, see the documentation on [how to handle touches](handling-touches.md). + +Now let's take a look at [ScrollView](using-a-scrollview) which is another Core Component. \ No newline at end of file From 5d095468d223862819e99bc2194ee63b2f89551f Mon Sep 17 00:00:00 2001 From: Chris Barile Date: Wed, 26 Nov 2025 14:05:30 -0500 Subject: [PATCH 2/4] Apply suggestions from code review Co-authored-by: Bartosz Kaszubowski --- docs/handling-text-input.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/handling-text-input.md b/docs/handling-text-input.md index 4c5576ca7a1..a836f4abdbf 100644 --- a/docs/handling-text-input.md +++ b/docs/handling-text-input.md @@ -43,6 +43,6 @@ In this example, we store `text` in the state, because it changes over time. There are a lot more things you might want to do with a text input. For example, you could validate the text inside while the user types. For more detailed examples, see the [React docs on controlled components](https://react.dev/reference/react-dom/components/input#controlling-an-input-with-a-state-variable), or the [reference docs for TextInput](textinput.md). -A TextInput is one of many ways for the user to interact with your app. For examples of other ways to handle input, see the documentation on [how to handle touches](handling-touches.md). +A `TextInput` is one of many ways for the user to interact with your app. For examples of other ways to handle input, see the documentation on [how to handle touches](handling-touches.md). -Now let's take a look at [ScrollView](using-a-scrollview) which is another Core Component. \ No newline at end of file +Now, let's take a look at [ScrollView](using-a-scrollview), another Core Component. \ No newline at end of file From 8ee52d68b14725414d9d29fee2e77a4613c296b7 Mon Sep 17 00:00:00 2001 From: Chris Barile Date: Wed, 26 Nov 2025 14:06:45 -0500 Subject: [PATCH 3/4] Applies review suggestions to versioned doc --- website/versioned_docs/version-0.82/handling-text-input.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/versioned_docs/version-0.82/handling-text-input.md b/website/versioned_docs/version-0.82/handling-text-input.md index 4c5576ca7a1..a836f4abdbf 100644 --- a/website/versioned_docs/version-0.82/handling-text-input.md +++ b/website/versioned_docs/version-0.82/handling-text-input.md @@ -43,6 +43,6 @@ In this example, we store `text` in the state, because it changes over time. There are a lot more things you might want to do with a text input. For example, you could validate the text inside while the user types. For more detailed examples, see the [React docs on controlled components](https://react.dev/reference/react-dom/components/input#controlling-an-input-with-a-state-variable), or the [reference docs for TextInput](textinput.md). -A TextInput is one of many ways for the user to interact with your app. For examples of other ways to handle input, see the documentation on [how to handle touches](handling-touches.md). +A `TextInput` is one of many ways for the user to interact with your app. For examples of other ways to handle input, see the documentation on [how to handle touches](handling-touches.md). -Now let's take a look at [ScrollView](using-a-scrollview) which is another Core Component. \ No newline at end of file +Now, let's take a look at [ScrollView](using-a-scrollview), another Core Component. \ No newline at end of file From c4469e799e59f0a5ff95926a0b834bea8dc37e70 Mon Sep 17 00:00:00 2001 From: Chris Barile Date: Wed, 26 Nov 2025 14:20:00 -0500 Subject: [PATCH 4/4] Fixes lint errors Adds spaces to ends of files --- docs/handling-text-input.md | 2 +- website/versioned_docs/version-0.82/handling-text-input.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/handling-text-input.md b/docs/handling-text-input.md index a836f4abdbf..6db00cae840 100644 --- a/docs/handling-text-input.md +++ b/docs/handling-text-input.md @@ -45,4 +45,4 @@ There are a lot more things you might want to do with a text input. For example, A `TextInput` is one of many ways for the user to interact with your app. For examples of other ways to handle input, see the documentation on [how to handle touches](handling-touches.md). -Now, let's take a look at [ScrollView](using-a-scrollview), another Core Component. \ No newline at end of file +Now, let's take a look at [ScrollView](using-a-scrollview), another Core Component. diff --git a/website/versioned_docs/version-0.82/handling-text-input.md b/website/versioned_docs/version-0.82/handling-text-input.md index a836f4abdbf..6db00cae840 100644 --- a/website/versioned_docs/version-0.82/handling-text-input.md +++ b/website/versioned_docs/version-0.82/handling-text-input.md @@ -45,4 +45,4 @@ There are a lot more things you might want to do with a text input. For example, A `TextInput` is one of many ways for the user to interact with your app. For examples of other ways to handle input, see the documentation on [how to handle touches](handling-touches.md). -Now, let's take a look at [ScrollView](using-a-scrollview), another Core Component. \ No newline at end of file +Now, let's take a look at [ScrollView](using-a-scrollview), another Core Component.