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

Warnings #138

Open
ahdam opened this issue Apr 1, 2020 · 0 comments
Open

Warnings #138

ahdam opened this issue Apr 1, 2020 · 0 comments

Comments

@ahdam
Copy link

ahdam commented Apr 1, 2020

The module uses "componentWillMount" and "componentWillReceiveProps" which generate warnings.

Warning: componentWillMount is deprecated and will be removed in the next major version. Use componentDidMount instead. As a temporary workaround, you can rename to UNSAFE_componentWillMount.

Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.

@ahdam ahdam changed the title handle warnings Warnings Apr 1, 2020
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

1 participant