создание веб-сайта при изучении responsejs и firebase
Я очень новичок вactjs и firebase. Я подумал, что лучший способ выучить их - это сделать проект, изучая их. Вот мой вопрос: как я могу использовать нижеприведенную часть javascript в responsejs.
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
}
Я пытался, как показано ниже
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
);
}
Это может быть глупый вопрос. Но моя ситуация с реакцией такова сейчас, и я хочу улучшить себя. Любая помощь приветствуется. Спасибо