You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked into this and I don't think it's a typo -- the nesting is intentional.
The page itself establishes the terminology a few sections up ("you always have a <Counter /> as the first child of the div returned from the root App component"). So here "the root" is the App component:
root -> App
first child of the root -> the <div>App returns
first child of the first child of the root -> <Counter />
That's exactly the "address" the sentence is describing for the two counters. If you dropped a level ("the first child of the root"), it would point at the <div>, not the counters, which would be factually wrong.
So the repeated "first child of the" is doing real work here, not a copy-paste slip. Happy to be corrected if I'm misreading it!
Activity
Dextheking1 commentedon Sep 18, 2026
I looked into this and I don't think it's a typo -- the nesting is intentional.
The page itself establishes the terminology a few sections up ("you always have a
<Counter />as the first child of thedivreturned from the rootAppcomponent"). So here "the root" is theAppcomponent:App<div>Appreturns<Counter />That's exactly the "address" the sentence is describing for the two counters. If you dropped a level ("the first child of the root"), it would point at the
<div>, not the counters, which would be factually wrong.So the repeated "first child of the" is doing real work here, not a copy-paste slip. Happy to be corrected if I'm misreading it!