Skip to content

Commit ee9d8fc

Browse files
authored
Merge pull request #4516 from MahendraBishnoi29/patch-1
2 parents ecdc7ef + 3832c09 commit ee9d8fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/essentials/part-1-overview-concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ This is a small example of **"one-way data flow"**:
143143

144144
![One-way data flow](/img/tutorials/essentials/one-way-data-flow.png)
145145

146-
However, the simplicity can break down when we have **multiple components that need to share and use the same state**, especially if those components are located in different parts of the application. Sometimes this can be solved by ["lifting state up"](https://reactjs.org/docs/lifting-state-up.html) to parent components, but that doesn't always help.
146+
However, the simplicity can break down when we have **multiple components that need to share and use the same state**, especially if those components are located in different parts of the application. Sometimes this can be solved by ["lifting state up"](https://react.dev/learn/sharing-state-between-components) to parent components, but that doesn't always help.
147147

148148
One way to solve this is to extract the shared state from the components, and put it into a centralized location outside the component tree. With this, our component tree becomes a big "view", and any component can access the state or trigger actions, no matter where they are in the tree!
149149

0 commit comments

Comments
 (0)