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> <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> </Deprecated>
@ -28,7 +28,7 @@ const domNode = findDOMNode(componentInstance)
<Deprecated> <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> </Deprecated>
@ -89,12 +89,6 @@ export default AutoselectingInput;
</Sandpack> </Sandpack>
<Pitfall>
Using `findDOMNode` leads to fragile code. [See the alternatives.](#alternatives)
</Pitfall>
--- ---
## Alternatives {/*alternatives*/} ## Alternatives {/*alternatives*/}
@ -419,7 +413,7 @@ This also applies to focusing and scrolling to arbitrary children.
<Deprecated> <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> </Deprecated>

Loading…
Cancel
Save