EventEmitter deprecated in React Native 0.65
See original GitHub issueReceiving a deprecation warning for Dripsy.Text:
EventEmitter.removeListener('change', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.addListener`.
Dripsy.Text@http://192.168.114.127:8081/...
Specific code that it is referencing with deprecation notice is this:
const Subtitle = () => (
<Text
variant="thick.h1"
sx={{
color: titleColor ? titleColor : secondaryColor,
marginBottom: 1,
}}>
{subtitle}
</Text>
);
Deprecation notice is referring to this change: https://github.com/facebook/react-native/commit/14f7a2b70754c92804d746959d1ff091bf49af69
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
React Native Warning: Receiving warning from the console
Once you are sure that the deprecated use is happening in a dependency you cannot control, it is possible to silence these warnings....
Read more >rcteventemitter deprecated | The AI Search Engine You Control
Although this is not a bug per se, react-native-webview is not optimised for RN version >= 0.65. When I build Android I get...
Read more >Keyboard - React Native
The Keyboard module allows you to listen for native events and react to them, as well as make changes to the keyboard, like...
Read more >types/react-native/index.d.ts - UNPKG
The CDN for @types/react-native. ... 169, * for removing the subscription lies with the EventEmitter. ... 371, * @deprecated Use NativeMethods instead.
Read more >Changelog | React Native SDK | API References - Voximplant
Update native Android and iOS modules to use Voximplant Android SDK 2.34.0 and Voximplant iOS ... Fix for #132: event emitter warnings on...
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 Free
Top 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

I see, so this should do it. Will push to the v3
@canaryThe version that works for me is
3.0.0-alpha.39(I just published again)