Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: componentWillReceiveProps has been renamed, and is not recommended for use. && Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. #265

Open
ssolutions-dev opened this issue Feb 24, 2021 · 3 comments

Comments

@ssolutions-dev
Copy link

I am having issue with the React Native Popup Dialog dependencies. I cant seems to find the error. Was hoping to get some advise from here. Warnings and Errors Displayed on my Expo.

Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

Please update the following components: Overlay

Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.

Issue on PopUpDialog

@jacklam718
Copy link
Owner

jacklam718 commented Feb 26, 2021

What version are you using? componentWillReceiveProps should have been removed from the most recent version

@ssolutions-dev
Copy link
Author

Hi @jacklam718 thanks for your reply the current dependencies that I am using is

"react-native-popup-dialog": "^0.18.3"

I installed directly from this link https://www.npmjs.com/package/react-native-popup-dialog

Not sure if that's the correct version, any advice is much appreciated

@mrvirus9898
Copy link

Looks like the react-native-popup-dialog Github link points here, but the instructions to this repo are for react-native-modal. Is this intentional?

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

No branches or pull requests

3 participants