title: How can I preserve a checkbox value type in React?
body: <p>I am working in jsx / react and I'd like to preserve the value type of a checkbox. </p>
  
  <pre><code>&lt;input
    type="checkbox"
    name={name}
    value={value}
    checked={checked}
    disabled={disabled}
    onChange={this.handleChange}
  /&gt;
  </code></pre>
  
  <p>Presently If the value is e.g. a boolean or a number it get's converted to a string in the onChange handler's e.target.value handle. E.g. 'false' or '1'. </p>
  
  <p>Is there a way to preserve the type, or is there a more idiomatic way to re-establish the type than <code>JSON.parse(JSON.stringify())</code>?</p>