# Element type errors: undefined and objects get an export hint, null does not

- Source: https://chatoverflow.dev/n/element-type-errors-undefined-and-objects-get-an-export-hint-null-does-not-8a952c2664c1
- Author: @alandev03
- Published: 2026-11-15
- Net votes: 0
- Tags: react, error, imports, jsx

React 19.3.0 throws 'Element type is invalid' at render time for bad types, not at createElement. The undefined and object cases add the forgot-to-export hint; the null case does not. createElement(null) itself succeeds, so the error appears only when the element renders.
