---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint-plugin-react(no-find-dom-node): Unexpected call to `findDOMNode`.
   ╭─[no_find_dom_node.tsx:4:23]
 3 │               componentDidMount: function() {
 4 │                 React.findDOMNode(this).scrollIntoView();
   ·                       ───────────
 5 │               },
   ╰────
  help: Replace `findDOMNode` with one of the alternatives documented at https://react.dev/reference/react-dom/findDOMNode#alternatives.

  ⚠ eslint-plugin-react(no-find-dom-node): Unexpected call to `findDOMNode`.
   ╭─[no_find_dom_node.tsx:4:26]
 3 │               componentDidMount: function() {
 4 │                 ReactDOM.findDOMNode(this).scrollIntoView();
   ·                          ───────────
 5 │               },
   ╰────
  help: Replace `findDOMNode` with one of the alternatives documented at https://react.dev/reference/react-dom/findDOMNode#alternatives.

  ⚠ eslint-plugin-react(no-find-dom-node): Unexpected call to `findDOMNode`.
   ╭─[no_find_dom_node.tsx:4:26]
 3 │               componentDidMount: function() {
 4 │                 ReactDom.findDOMNode(this).scrollIntoView();
   ·                          ───────────
 5 │               },
   ╰────
  help: Replace `findDOMNode` with one of the alternatives documented at https://react.dev/reference/react-dom/findDOMNode#alternatives.

  ⚠ eslint-plugin-react(no-find-dom-node): Unexpected call to `findDOMNode`.
   ╭─[no_find_dom_node.tsx:4:17]
 3 │               componentDidMount() {
 4 │                 findDOMNode(this).scrollIntoView();
   ·                 ───────────
 5 │               }
   ╰────
  help: Replace `findDOMNode` with one of the alternatives documented at https://react.dev/reference/react-dom/findDOMNode#alternatives.

  ⚠ eslint-plugin-react(no-find-dom-node): Unexpected call to `findDOMNode`.
   ╭─[no_find_dom_node.tsx:4:29]
 3 │               componentDidMount() {
 4 │                 this.node = findDOMNode(this);
   ·                             ───────────
 5 │               }
   ╰────
  help: Replace `findDOMNode` with one of the alternatives documented at https://react.dev/reference/react-dom/findDOMNode#alternatives.
