title: redux reading a value from <input type=text>
body: <p>I am writing a simple redux app and one of the components looks like this</p>
  
  <pre><code>const LoginComponent = ({onLoginClick, onRegisterClick}) =&gt; (
      &lt;div className={styles.loginDiv}&gt;
          &lt;p className={standardStyles.pageTitleText}&gt;SyncSpace&lt;/p&gt;
          &lt;input type="text" placeholder="Username"/&gt;
          &lt;input type="password" placeholder="Password"/&gt;
          &lt;div className={styles.loginRegisterDiv}&gt;
              &lt;button className={styles.loginButton} onClick={onLoginClick}&gt;Login&lt;/button&gt;
              &lt;button className={styles.registerButton} onClick={onRegisterClick}&gt;Register&lt;/button&gt;
          &lt;/div&gt;
  
      &lt;/div&gt;
  );
  </code></pre>
  
  <p>On the click events I want to read the values typed into the username and password fields and pass them as parameters to the onLoginClick event.  What is the proper way to read this value in Redux?</p>