[DevTools] Fix ReactDevToolsBackend module for AMD (#35891)
## Summary For apps that use AMD, we need to actually `require()` the ReactDevToolsBackend and load it from the AMD module cache. This adds a check for the case where the `ReactDevToolsBackend` isn't defined globally, and so we load it with `require()`. ## How did you test this change? Tested through https://github.com/facebook/react/pull/35886
M
Mushaheed Kapadia committed
bd76b456c127222f59888953348d40cf8f03e3a0
Parent: b354bbd
Committed by GitHub <[email protected]>
on 2/24/2026, 3:27:59 PM