diff --git a/react/getting_started_with_react/passing_data_between_components.md b/react/getting_started_with_react/passing_data_between_components.md index b36f5b0fbbc..f7233cf4341 100644 --- a/react/getting_started_with_react/passing_data_between_components.md +++ b/react/getting_started_with_react/passing_data_between_components.md @@ -15,7 +15,7 @@ In React, data is transferred from parent components to child components via pro ### Using props in React -Now that we know *how* data transfers between components, let's explore *why* this might be a useful feature in React. Consider the following `Button` component, which then gets rendered multiple times within our `App` component. +Now that we know *how* data transfers between components, let's explore *why* this might be a useful feature in React. Consider the following `Button` component, which gets rendered multiple times within our `App` component. ```jsx function Button() { @@ -63,7 +63,7 @@ export default function App() { } ``` -This may not seem like a huge deal right now, but what if we had 10 buttons, each one having different text, fonts, colors, sizes, and any other variation you can think of. Creating a new component for each of these button variations would very quickly lead to a LOT of code duplication. +This may not seem like a huge deal right now, but what if we had 10 buttons? Each one having different text, fonts, colors, sizes, and any other variation you can think of. Creating a new component for each of these button variations would very quickly lead to a LOT of code duplication. Let's see how by using props, we can account for any number of variations with a *single* button component. @@ -255,7 +255,7 @@ There are also other ways to implement this behavior. Hint: [curried functions!] -Hopefully you can now understand from the examples in this lesson, just how incredibly useful props are for writing reusable and customizable React components. However, we are still only scratching the surface of what React can offer us. Continue on to the next section to learn even more! +Hopefully, you can now understand from the examples in this lesson just how incredibly useful props are for writing reusable and customizable React components. However, we are still only scratching the surface of what React can offer us. Continue on to the next section to learn even more! ### Assignment