From 9eca28fc79dd440defd3bfcc14568da0aa16a732 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 14 Dec 2022 03:30:45 +0000 Subject: [PATCH] Tweak header --- beta/src/content/apis/react-dom/findDOMNode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beta/src/content/apis/react-dom/findDOMNode.md b/beta/src/content/apis/react-dom/findDOMNode.md index 483ed780..fddb651a 100644 --- a/beta/src/content/apis/react-dom/findDOMNode.md +++ b/beta/src/content/apis/react-dom/findDOMNode.md @@ -397,7 +397,7 @@ export default MyInput; --- -### Measuring position and size of the children {/*measuring-position-and-size-of-the-children*/} +### Adding a wrapper `
` element {/*adding-a-wrapper-div-element*/} Sometimes a component needs to know the position and size of its children. This makes it tempting to find the children with `findDOMNode(this)`, and then use DOM methods like [`getBoundingClientRect`](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect) for measurements.