Attempting to create externs for react-relay due to two reasons:
Relay expects ReactDOM to be defined, not React.DOM. As a user, this is easy to fix. Just open console and type ReactDOM = React.DOM.
Relay fails with Super expression must either be null or a function, not undefined. From researching this, it appears to be due to this app's old version of React (0.12.2) being incompatible with this version of Relay.
As a short-term solution, I'd suggest that React be upgraded to the most recent version to fix this conflict and likely many others, since so many libraries rely on React.
As a long-term solution, I'd consider if the UI could be rewritten using just the Google Closure Library without any external dependencies.
Attempting to create externs for
react-relay
due to two reasons:ReactDOM
to be defined, notReact.DOM
. As a user, this is easy to fix. Just open console and typeReactDOM = React.DOM
.Super expression must either be null or a function, not undefined
. From researching this, it appears to be due to this app's old version of React (0.12.2) being incompatible with this version of Relay.As a short-term solution, I'd suggest that React be upgraded to the most recent version to fix this conflict and likely many others, since so many libraries rely on React. As a long-term solution, I'd consider if the UI could be rewritten using just the Google Closure Library without any external dependencies.