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

componentWillReceiveProps is deprecated #60

Open
tomsun opened this issue Mar 6, 2020 · 2 comments
Open

componentWillReceiveProps is deprecated #60

tomsun opened this issue Mar 6, 2020 · 2 comments

Comments

@tomsun
Copy link
Contributor

tomsun commented Mar 6, 2020

  • react-firestore version: 1.0.1
  • node version: v10.19.0
  • npm (or yarn) version: yarn 1.21.1
  • react version: 16.12.0

What happened:

From the browser console when using react-firestore with recent versions of React:

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

@joshmillgate
Copy link

Any intentions to fix this?

@silentyak
Copy link

Use react-firebase-hooks https://github.com/CSFrequency/react-firebase-hooks

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