question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EventEmitter.removeListener('didUpdateDimensions', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.addListener`.

See original GitHub issue

Before 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:closed
  • Created 2 years ago
  • Reactions:10
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
matthieunelmescommented, Nov 15, 2021

Apologies, a different component was triggering the deprecation warning, all’s fine here.

0reactions
matthieunelmescommented, Nov 15, 2021

Still having this problem with 13.0.0 and 0.65.1

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found