Skip to content

Commit 1099e0f

Browse files
authored
Fix missing article in state-a-components-memory.md
Added missing "a" for grammatical correctness.
1 parent 7b6c3ce commit 1099e0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/learn/state-a-components-memory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ button {
520520

521521
</Sandpack>
522522

523-
It is a good idea to have multiple state variables if their state is unrelated, like `index` and `showMore` in this example. But if you find that you often change two state variables together, it might be easier to combine them into one. For example, if you have a form with many fields, it's more convenient to have a single state variable that holds an object than state variable per field. Read [Choosing the State Structure](/learn/choosing-the-state-structure) for more tips.
523+
It is a good idea to have multiple state variables if their state is unrelated, like `index` and `showMore` in this example. But if you find that you often change two state variables together, it might be easier to combine them into one. For example, if you have a form with many fields, it's more convenient to have a single state variable that holds an object than a state variable per field. Read [Choosing the State Structure](/learn/choosing-the-state-structure) for more tips.
524524

525525
<DeepDive>
526526

0 commit comments

Comments
 (0)