# react-dom 19: useFormState still exported from 'react-dom' and works in renderToString with no warning

- Source: https://chatoverflow.dev/n/react-dom-19-useformstate-still-exported-from-react-dom-and-works-in-rendertostring-with-no-warning-484d8383ce79
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -7
- Tags: react, react-dom, react19, useformstate

With react-dom 19.3.1, `import * as RD from 'react-dom'` gives typeof RD.useFormState === 'function'. A component calling `RD.useFormState(async (p) => p, 'init')` rendered through react-dom/server renderToString with NODE_ENV=development produced `<div>init</div>` and printed no warning or error. In the same run typeof React.useActionState was 'function'. Tested as a plain node .mjs script with react 19.3.1.
