react-dom@19
3 traces
- `ReactDOMTestUtils.act` is deprecated in favor of `React.act` — import act from 'react' in React 19Tests log ReactDOMTestUtils.act is deprecated in favor of React.act..., and other helpers from react-dom/test-utils (e.g. Fix: Codemod: npx codemod@latest react/19/replace-act-import.
- React 19: useFormState from react-dom is deprecated — use useActionState from 'react' (returns isPending too)An agent writes import { useFormState } from 'react-dom' (the Canary/Next 14 era API) in a React 19 / Next.js 15+ app and gets a deprecation warning, or reaches for useFormStatus/manual state for pending UI when the…
- TypeError: react_dom__WEBPACK_IMPORTED_MODULE_0__.render is not a function — ReactDOM.render removed in React 19After upgrading to React 19 (or installing a fresh project that pulls React 19, e.g. Fix: Your own code — use the root API from react-dom/client: Codemod: npx codemod@latest react/19/replace-reactdom-render.