While trying to integrate HMR, getting an error. I have followed everything as per the docs but still not able to resolve the issue. Uncaught TypeError: Illegal invocation at HTMLUnknownElement.callCallback (react-dom.development.js:3945) at Object.invokeGuardedCallbackDev (react-dom.development.js:3994) at invokeGuardedCallback (react-dom.development.js:4056) at flushPassiveEffectsImpl (react-dom.development.js:23543) at unstable_runWithPriority (scheduler.development.js:646) at runWithPriority$1 (react-dom.development.js:11276) at flushPassiveEffects (react-dom.development.js:23447) at react-dom.development.js:23324 at workLoop (scheduler.development.js:590) at ..
I have a legacy vue.js app running on staging and testing servers. The problem is that Network console is spammed with https://localhost/sockjs-node/info?t=1602594418799 requests in the browser and, of course, they fail because they refer to an URL that is not available in the browser. I would like to disable HMR completely for some of those ..