`IfFirebaseUnAuthed` causes React: Unknown Prop Warning
heldtogether opened this issue · 1 comments
First, great repo. Works really well and so easy to get started. Thanks!
I've tried to use IfFirebaseUnAuthed
and react throws a number of warnings about unknown props. Specifically about providerId
and isSignedIn
. I'm not familiar enough with the library to understand what's happening and submit a fix but hoping it can be resolved fairly easily.
See the console output of https://codesandbox.io/s/firebase-auth-example-jf4n9 for a minimal demo, forked from the demo provided.
Will update with more info, if and when I have it.
Ok, so while digging into this issue, I realised I was using the IfFirebaseUnAuthed
component incorrectly. Reading the example at https://github.com/rakannimer/react-firebase/blob/master/modules/react-firebase-docs/docs/guides/build-a-react-app-with-firebase-auth-and-realtime-database/add-google-and-anonymous-auth.md helped clarify the correct usage.
Closing.