Skip to content

react-dom

React apps in the browser: labels, alternative text, keyboard access, and valid ARIA attributes. It requires react. Guide: React.

A scope has a dependency on react-dom. Also when nextjs requires it.

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.

Install the same version of react and react-dom.

A project that locks react 19.1.0 and react-dom 19.0.0 reports react-versions. Install the same version of both.

gspot ignore react-dom/react-versions --paths "<path>" --reason "<why>"
Tool Version
eslint-plugin-jsx-a11y-x 0.2.0