<p dir="auto">I use <code class="notranslate">react-with-addons</code> in a RequireJS enviroment. If I try to use <code class="notranslate">React.addons.Perf</code>, I get a <code class="notranslate">ReferenceError: ReactDOM is not defined</code> from <a href="https://github.com/facebook/react/blob/15-dev/src/umd/shims/ReactAddonsDOMDependenciesUMDShim.js#L26">https://github.com/facebook/react/blob/15-dev/src/umd/shims/ReactAddonsDOMDependenciesUMDShim.js#L26</a>.<br>
This is a regression from 15.3.x.</p>
<p dir="auto">If I try to load react-dom with RequireJS, I get an error: "Mismatched anonymous define()".<br>
Looking at the react-dom from the 15.4.0 distribution (<a href="https://cdnjs.cloudflare.com/ajax/libs/react/15.4.0/react-dom.js" rel="nofollow">https://cdnjs.cloudflare.com/ajax/libs/react/15.4.0/react-dom.js</a>), I notice that there seem to be two UMD wrappers at the top.<br>
This is probably related to the change in the packaging structure (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163464962" data-permission-text="Title is private" data-url="https://github.com/facebook/react/issues/7164" data-hovercard-type="pull_request" data-hovercard-url="/facebook/react/pull/7164/hovercard" href="https://github.com/facebook/react/pull/7164">#7164</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163509541" data-permission-text="Title is private" data-url="https://github.com/facebook/react/issues/7168" data-hovercard-type="pull_request" data-hovercard-url="/facebook/react/pull/7168/hovercard" href="https://github.com/facebook/react/pull/7168">#7168</a>).</p>