Hey. Very nice project, thanks for maintaining this!
I'm using the createUserWithEmailAndPassword() hook, but I've noticed that it does not return the user credentials like in this Firebase example. I think this is really useful when you want to immediately set data for the new user. In my case I want to set an username that is entered in the registration form:
The above version uses createUserWithEmailAndPassword from firebase/auth directly but I'd love if the hook would support this out of the box. Simply returning the user inside the hook should be sufficient:
Hey. Very nice project, thanks for maintaining this!
I'm using the
createUserWithEmailAndPassword()
hook, but I've noticed that it does not return the user credentials like in this Firebase example. I think this is really useful when you want to immediately set data for the new user. In my case I want to set an username that is entered in the registration form:The above version uses
createUserWithEmailAndPassword
fromfirebase/auth
directly but I'd love if the hook would support this out of the box. Simply returning theuser
inside the hook should be sufficient:What do you think? I can also open a PR if you like.