mirror of
https://github.com/facebook/react.git
synced 2026-02-26 17:55:04 +00:00
This adds a warning to React.createElement in __DEV__ about using null or undefined. This is technically valid since element creation can be considered safe and usable in multiple rendering environments. But rendering in a DOM environment with an element with null/undefined type is not safe.