title: can I wrap multiple varibles by one varible in reactjs
body: <p>making a website while learning the reactjs and firebase</p>
  <p>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.</p>
  <pre><code>actionCodeSettings = {
      // After password reset, the user will be give the ability to go back
      // to this page.
      url: &quot;http://localhost:3000/logs#/react-auth-ui/sign-in&quot;,
      handleCodeInApp: false
    }
  </code></pre>
  <p>I tried as below</p>
  <pre><code>constructor() {
  super();
  this.state = {
    email: &quot;&quot;,
    isOpen: false,
    actionCodeSettings = {
      // After password reset, the user will be give the ability to go back
      // to this page.
      url: &quot;http://localhost:3000/logs#/react-auth-ui/sign-in&quot;,
      handleCodeInApp: false
    }
  };
  this.handleChangeEmail = this.handleChangeEmail.bind(this);
  
  this.handleSendPasswordResetEmail = this.handleSendPasswordResetEmail.bind(
    this
  );
  </code></pre>
  <p>}</p>
  <p>any help is appreciated. Thanks</p>