[x] 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); }, },