EventEmitter.removeListener('didUpdateDimensions', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.addListener`.
See original GitHub issueBefore putting more information here: Has anyone seen this and know how to fix it?
index.js:1 EventEmitter.removeListener('didUpdateDimensions', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.addListener`.
“react-native-modal”: “^12.0.3”, “react-native”: “https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz”, “react”: “16.13.1”,
Let me know if you need more information. Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:10
- Comments:5 (1 by maintainers)
Top Results From Across the Web
React Native Warning: Receiving warning from the console
removeListener (\'change\', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.
Read more >React Native - EventEmitter removeListener Method has been ...
Method has been deprecated. Please instead use remove() on the subscription returned by EventEmitter.addListener .
Read more >Dimensions - React Native
removeEventListener () ... Deprecated. Use the remove() method on the event subscription returned by addEventListener() . set() . static ...
Read more >ServiceReceiver interface | Microsoft Learn
const EventEmitter = require('events'); const myEmitter = new EventEmitter(); // First listener myEmitter.on('event', function firstListener() ...
Read more >How to use removeListener function in EventEmitter - Tabnine
Remove event listener * @param {String} event - Event name * @param ... removeListener.apply(this.emitter, arguments); //Return object so it can be chained ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Apologies, a different component was triggering the deprecation warning, all’s fine here.
Still having this problem with 13.0.0 and 0.65.1