You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
这个方法将被废弃,总是报警告,希望修改一下
Console Warning
EventEmitter.removeListener(' ANT_ DESIGN_ MOBILE_ RN_ REMOVE_ PORTAL', Method has been deprecated.Please instead use remove() on the subscription returned by EventEmitter.addListener'.
What problem does this feature solve?
这个方法将被废弃,总是报警告,希望修改一下
Console Warning
EventEmitter.removeListener(' ANT_ DESIGN_ MOBILE_ RN_ REMOVE_ PORTAL', Method has been deprecated.Please instead use remove() on the subscription returned by EventEmitter.addListener'.
What does the proposed API look like?
{
key: "componentWillUnmount",
value: function componentWillUnmount() {
this._mountSubscription.remove();
this._unmountSubscription.remove();
// TopViewEventEmitter.removeListener(addType, this._mount);
// TopViewEventEmitter.removeListener(removeType, this._unmount);
},
},
The text was updated successfully, but these errors were encountered: