From 9add7e391e2cf0bc5113f98d4576849d94d4e247 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 15 Oct 2025 11:35:05 +0530 Subject: [PATCH] fix: Breaking up a sentence to make it easier to understand The line `Trees are a relationship model between items and UI is often represented using tree structures` was a *slightly* confusing to me. I twice read it as `Trees are a relationship model between items and UI` which was incorrect. Therefore, I think it would be better to break the sentence into two which would convey make it easier to read and convey the correct meaning. My apologies if this goes against the convention used in Meta docs. --- src/content/learn/understanding-your-ui-as-a-tree.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/learn/understanding-your-ui-as-a-tree.md b/src/content/learn/understanding-your-ui-as-a-tree.md index 2abf7affc71..afc38cd332f 100644 --- a/src/content/learn/understanding-your-ui-as-a-tree.md +++ b/src/content/learn/understanding-your-ui-as-a-tree.md @@ -20,7 +20,7 @@ React, and many other UI libraries, model UI as a tree. Thinking of your app as ## Your UI as a tree {/*your-ui-as-a-tree*/} -Trees are a relationship model between items and UI is often represented using tree structures. For example, browsers use tree structures to model HTML ([DOM](https://developer.mozilla.org/docs/Web/API/Document_Object_Model/Introduction)) and CSS ([CSSOM](https://developer.mozilla.org/docs/Web/API/CSS_Object_Model)). Mobile platforms also use trees to represent their view hierarchy. +Trees are a relationship model between items. The UI is often represented using tree structures. For example, browsers use tree structures to model HTML ([DOM](https://developer.mozilla.org/docs/Web/API/Document_Object_Model/Introduction)) and CSS ([CSSOM](https://developer.mozilla.org/docs/Web/API/CSS_Object_Model)). Mobile platforms also use trees to represent their view hierarchy.