Skip to content

Commit cd9d44f

Browse files
author
Luna Wei
committed
better link for render trees
1 parent 6e98624 commit cd9d44f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/preserving-and-resetting-state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ State is isolated between components. React keeps track of which state belongs t
1818

1919
## State is tied to a position in the render tree {/*state-is-tied-to-a-position-in-the-tree*/}
2020

21-
React builds [render trees](/learn/understanding-your-ui-as-a-tree) for the component structure in your UI.
21+
React builds [render trees](learn/understanding-your-ui-as-a-tree#the-render-tree) for the component structure in your UI.
2222

2323
When you give a component state, you might think the state "lives" inside the component. But the state is actually held inside React. React associates each piece of state it's holding with the correct component by where that component sits in the render tree.
2424

0 commit comments

Comments
 (0)