mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
7ce8c844bd
This prevents feature tests like: var ReactElement = React.createElement(...).constructor; if (element.constructor === ReactElement) This is intentional so that we have the option to make these plain objects. E.g. for direct inlining or replacing them with value types.