From maintainers: if you have this problem, please see the explanation in #6895 (comment).
Test case: jsFiddle
The error is in this function, internalInstance is null.
/**
* Releases any resources allocated by `mountComponent`.
*
* @final
* @internal
*/
unmountComponent: function(internalInstance) {
ReactRef.detachRefs(internalInstance, internalInstance._currentElement);
internalInstance.unmountComponent();
}
I managed to "fix" the bug by simply checking if internal state is not null but that requires modifying react.
Other mentions of this bug are listed below.
From maintainers: if you have this problem, please see the explanation in #6895 (comment).
Test case: jsFiddle
The error is in this function, internalInstance is null.
I managed to "fix" the bug by simply checking if internal state is not null but that requires modifying react.
Other mentions of this bug are listed below.