react-dom
React apps in the browser: labels, alternative text, keyboard access, and valid ARIA attributes. It requires react. Guide: React.
Selected when
Section titled “Selected when”A scope has a dependency on react-dom. Also when nextjs requires it.
Checks
Section titled “Checks”react-versions
Section titled “react-versions”Checks that react and react-dom resolve to the same version.
Runs at the commit stage, once per scope.
React stops at run time when react and react-dom differ.
What to do
Section titled “What to do”Install the same version of react and react-dom.
Example
Section titled “Example”A project that locks react 19.1.0 and react-dom 19.0.0 reports react-versions. Install the same version of both.
Turn it off
Section titled “Turn it off”gspot ignore react-dom/react-versions --paths "<path>" --reason "<why>"Tools and versions
Section titled “Tools and versions”| Tool | Version |
|---|---|
| eslint-plugin-jsx-a11y-x | 0.2.0 |