Browse Source

Tweaks

main
Dan Abramov 2 years ago
parent
commit
5d651446fc
  1. 12
      beta/src/content/apis/react-dom/findDOMNode.md

12
beta/src/content/apis/react-dom/findDOMNode.md

@ -4,7 +4,7 @@ title: findDOMNode
<Deprecated>
This API will be removed in a future major version of React.
This API will be removed in a future major version of React. [See the alternatives.](#alternatives)
</Deprecated>
@ -28,7 +28,7 @@ const domNode = findDOMNode(componentInstance)
<Deprecated>
This API will be removed in a future major version of React.
This API will be removed in a future major version of React. [See the alternatives.](#alternatives)
</Deprecated>
@ -89,12 +89,6 @@ export default AutoselectingInput;
</Sandpack>
<Pitfall>
Using `findDOMNode` leads to fragile code. [See the alternatives.](#alternatives)
</Pitfall>
---
## Alternatives {/*alternatives*/}
@ -419,7 +413,7 @@ This also applies to focusing and scrolling to arbitrary children.
<Deprecated>
This API will be removed in a future major version of React.
This API will be removed in a future major version of React. [See the alternatives.](#alternatives)
</Deprecated>

Loading…
Cancel
Save