---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint-plugin-react(no-render-return-value): Do not depend on the return value from ReactDOM.render.
   ╭─[no_render_return_value.tsx:1:13]
 1 │ var Hello = ReactDOM.render(<div />, document.body);
   ·             ───────────────
   ╰────
  help: Using the return value is a legacy feature.

  ⚠ eslint-plugin-react(no-render-return-value): Do not depend on the return value from ReactDOM.render.
   ╭─[no_render_return_value.tsx:3:26]
 2 │                     var o = {
 3 │                       inst: ReactDOM.render(<div />, document.body)
   ·                             ───────────────
 4 │                     };
   ╰────
  help: Using the return value is a legacy feature.

  ⚠ eslint-plugin-react(no-render-return-value): Do not depend on the return value from ReactDOM.render.
   ╭─[no_render_return_value.tsx:3:27]
 2 │                     function render () {
 3 │                       return ReactDOM.render(<div />, document.body)
   ·                              ───────────────
 4 │                     }
   ╰────
  help: Using the return value is a legacy feature.

  ⚠ eslint-plugin-react(no-render-return-value): Do not depend on the return value from ReactDOM.render.
   ╭─[no_render_return_value.tsx:1:24]
 1 │ var render = (a, b) => ReactDOM.render(a, b)
   ·                        ───────────────
   ╰────
  help: Using the return value is a legacy feature.

  ⚠ eslint-plugin-react(no-render-return-value): Do not depend on the return value from ReactDOM.render.
   ╭─[no_render_return_value.tsx:1:10]
 1 │ this.o = ReactDOM.render(<div />, document.body);
   ·          ───────────────
   ╰────
  help: Using the return value is a legacy feature.

  ⚠ eslint-plugin-react(no-render-return-value): Do not depend on the return value from ReactDOM.render.
   ╭─[no_render_return_value.tsx:1:12]
 1 │ var v; v = ReactDOM.render(<div />, document.body);
   ·            ───────────────
   ╰────
  help: Using the return value is a legacy feature.

  ⚠ eslint-plugin-react(no-render-return-value): Do not depend on the return value from ReactDOM.render.
   ╭─[no_render_return_value.tsx:1:12]
 1 │ var inst = ReactDOM.render(<div />, document.body);
   ·            ───────────────
   ╰────
  help: Using the return value is a legacy feature.
