react icon indicating copy to clipboard operation
react copied to clipboard

hostContainerInfo always null in IE11 Edge

Open KalpanaAr opened this issue 9 years ago • 3 comments

We have a react application that is working perfectly fine on all browsers except IE11 (11.0.9). React Application won't even load on IE11 because in react-dom/lib/ReactDOMComponent.js @ line 405 hostContainerInfo is always null. While Chrome and firefox always gets proper value for hostContainerInfo.

 mountComponent: function (transaction, hostParent, hostContainerInfo, context) {
    this._rootNodeID = globalIdCounter++;
    this._domID = hostContainerInfo._idCounter++;

The error I am getting is this:

Unable to get property '_idCounter' of undefined or null reference

Versions used: react/react-dom: 15.4.1

Tried downgrading react to 15.3.2 and upgrading it 15.4.1, but the problem still exists.

Any guidance on how to approach this problem would be very helpful. Thanks.

KalpanaAr avatar Apr 27 '17 18:04 KalpanaAr

We will need a reproducing example because IE11 works in our experience.

gaearon avatar Jul 11 '17 13:07 gaearon

Since there was no reproducing example provided, I'm going to assume this is no longer an issue and close this out.

aweary avatar Sep 20 '17 16:09 aweary

Seeing this same error from users with IE 11 @KalpanaAr did you find anything to help solve this?

TypeError: Unable to get property '_idCounter' of undefined or null reference at p.Mixin.mountComponent(../jspm_packages/npm/[email protected]/lib/ReactDOMComponent.js:407:4)

keithhalterman avatar Nov 09 '17 21:11 keithhalterman