You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting and including the repro. I think this is a duplicate of 755 of react-redux-firebase. Since the HOCs live within that repo, I'll track changes/updates in there.
What is the current behavior?
When using the
firestoreConnect
HOC, I'm receiving a depreciation warning from React in the console:The data is getting pulled from Firebase fine.
What is the expected behavior?
To be able to use the
firestoreConnect
HOC as indicated in the docs and not have it throw a warning in the browser.Which version of redux-firestore are you using? What about other dependencies?
The warning appears to have been introduced in React 16.9.0. When I revert back to a 16.8.x version of React I don't see the warning.
react: 16.9.0
react-dom: 16.9.0
redux: 4.0.4
react-redux-firebase: 3.0.0-alpha.16
redux-firestore: 0.8.0
Which environments/browsers are affected by this issue? Did this work in previous versions or setups?
Presumably all browsers. As mentioned, the warning is not triggered when using a version of React previous to 16.9.0
Minimal demo to reproduce issue (using codesandbox or similar)
Minimal reproduction here. Open the console to see the warning: https://codesandbox.io/embed/busy-glade-jzh3k
The text was updated successfully, but these errors were encountered: