This would make it easier for developers to get set up, and ensures things like component lifecycle (e.g. reset() are handled correctly.)
Is there any solution so far? I am new to React, maybe a NPM package would be nice to have to seamlessly integrate the authentication ;)
We've added npm support: https://github.com/firebase/firebaseui-web#npm-module
Thanks for updating the README ;)
@TMSCH I think the wrapper of FirebaseUI Auth haven't been implemented, while we could use FirebaseUI Auth as the same way as comment of @channing-google https://github.com/firebase/firebaseui-web/issues/47#issuecomment-246543391 Am I right?
By wrapper, a react component which we could use like <FirebaseUIAuth /> comes up in my first thought.
Hi @demongaorui, you are right, we haven't implemented a React wrapper yet. Have you been able to use @channing-google's solution?
Any progress on this? In the meantime, I created a POC based on the demo project that uses a bootstrapped CRA project:
https://github.com/ryansully/react-firebaseui-web-demo
There's now an official React wrapper:
https://github.com/firebase/firebaseui-web-react
However, it appears to be missing a few helpful features, such as configuring the credentialHelper setting and supporting inline styling.
Duplicate issue here: #47
Most helpful comment
Any progress on this? In the meantime, I created a POC based on the demo project that uses a bootstrapped CRA project:
https://github.com/ryansully/react-firebaseui-web-demo