I started using Firebase authentication SDK for Web recently for managing user accounts on a ReactJS webapp.
For changing email address and password, Firebase requires a recent login. Given the name, it seems to make sense to use the reauthenticateWithCredential
function. However, how is it different from simply using signInWithEmailAndPassword
again?
Would love to see an example when and how this is used.