title: redux get input text value
body: <p>I have the following reactjs component.</p>
  
  <pre><code>class Login extends Component {
  
  render() {
      if (this.props.session.Authenticated) {
          return (
              &lt;div&gt;&lt;/div&gt;
          );
      }
      return (
          &lt;div&gt;
              &lt;input type="text" placeholder="Username" /&gt;
              &lt;input type="password" placeholder="Password" /&gt;
              &lt;input
                  type="button"
                  value="Login"
                  onClick={() =&gt; this.props.LoginAction("admin", "password")}
               /&gt;
          &lt;/div&gt;
      );
  }
  }
  </code></pre>
  
  <p>The Login component makes use of a prop that is set via redux, named "session.Authenticated". If an user session is not authenticated, I present a couple of <code>input</code> fields (one for username and another for password) and a <code>Login</code> button. If I press on the <code>Login</code> button I want to emit an action with the username and password values, passed as parameters. Now, how do I get the values of the two <code>input</code> fields for the parameters ?</p>
  
  <p>IOW, I want to remove the hardcoded "admin, password" in the above code with the values of the two <code>input</code> fields. How to achieve this ?</p>
  
  <p>All the examples point to <code>redux-form</code> which is a new dependency that I do not want to add. I want to keep my dependencies minimal and so using only react, redux and react-redux in my project.</p>