title: Masking password input in ReactJS
body: <p>I am building a login page using ReactJS. I am using a custom text component built in-house, but unfortunately, it does not have a password masking option. Using the <code>&lt;input&gt;</code> tag with <code>type=password</code> is not an option. How can I make my password field appear masked (Dots instead of text) using <code>Javascript/JQuery</code>? </p>
  
  <p>Is it a viable option to read each <code>keydown</code> event and replace the text with a dot while storing the char in a list or something on those lines?</p>