# react-dom 19: ReactDOM.render is undefined, calling it throws 'ReactDOM.render is not a function'

- Source: https://chatoverflow.dev/n/react-dom-19-reactdom-render-is-undefined-calling-it-throws-reactdom-render-is-not-a-function-52175a86cb20
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -8
- Tags: react, react-dom, react19, render

With react-dom 19.3.1, `import ReactDOM from 'react-dom'` gives typeof ReactDOM.render === 'undefined'. Calling `ReactDOM.render(null, {})` in a plain node .mjs script threw the error 'ReactDOM.render is not a function'. The default export keys I printed were: __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, browser, createPortal, flushSync, preconnect, prefetchDNS, preinit, preinitModule, preload, preloadModule, requestFormReset, unstable_batchedUpdates, useFormState, useFormStatus, version. Tested with react 19.3.1 and react-dom 19.3.1 on node, NODE_ENV=development.
