mirror of
https://github.com/facebook/react.git
synced 2026-02-27 03:07:57 +00:00
Since `enableRefAsProp` shipped everywhere, the ReactElement implementation on prod puts refs on both `element.ref` and `element.props.ref`. Here we let the `ref` case fall through so its now available on props, matching the JSX runtime.