Skip to content

Fix removeEventListener deprecated warning#142

Merged
jasongaare merged 1 commit intojasongaare:masterfrom
chungweileong94:master
Mar 21, 2022
Merged

Fix removeEventListener deprecated warning#142
jasongaare merged 1 commit intojasongaare:masterfrom
chungweileong94:master

Conversation

@chungweileong94
Copy link
Copy Markdown
Contributor

@chungweileong94 chungweileong94 commented Feb 3, 2022

Fix #123

The previous fix from #126 didn't fix the deprecation warning, as it's just a deprecation warning, which means checking Dimensions.removeEventListener will still remain non-faulty, and it will still be called in RN 0.65+ until RN team officially remove removeEventListener.

@Aexonic-Abhishek
Copy link
Copy Markdown

Hi, can we merge this PR? I'm also getting the same warning. Thanks

@wass08
Copy link
Copy Markdown

wass08 commented Feb 15, 2022

Please merge :D

@oregev
Copy link
Copy Markdown

oregev commented Feb 21, 2022

Please merge

@jasongaare jasongaare merged commit 58e2b3a into jasongaare:master Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dimentions.removeEventListener(...) is deprecated in RN 0.65

5 participants