making a website while learning the reactjs and firebase
I am very new to reactjs and firebase. I thought best way to learn them is do a project while learning them.Here my question is how can I use below javascript part in reactjs.
actionCodeSettings = {
// After password reset, the user will be give the ability to go back
// to this page.
url: "http://localhost:3000/logs#/react-auth-ui/sign-in",
handleCodeInApp: false
}
I tried as below
constructor() {
super();
this.state = {
email: "",
isOpen: false,
actionCodeSettings = {
// After password reset, the user will be give the ability to go back
// to this page.
url: "http://localhost:3000/logs#/react-auth-ui/sign-in",
handleCodeInApp: false
}
};
this.handleChangeEmail = this.handleChangeEmail.bind(this);
this.handleSendPasswordResetEmail = this.handleSendPasswordResetEmail.bind(
this
);
}
any help is appreciated. Thanks