title: can import React, but not useState?
body: <p>I am attempting to write a cordova app with ts and react by starting with the boilerplate:
  <a href="https://github.com/davidgerrard/cordova-react-typescript-webpack-boilerplate" rel="nofollow noreferrer">https://github.com/davidgerrard/cordova-react-typescript-webpack-boilerplate</a></p>
  <p>The cloned code works fine, but when I attempt to write my own component I start with a typical:</p>
  <pre><code>import React, { useState } from 'react';
  </code></pre>
  <p>It imports React just fine, but tells me</p>
  <pre><code>Module '&quot;react&quot;' has no exported member 'useState'
  </code></pre>
  <p>I am used to react on the web, so is there some different way to do this for cordova?  Or is there something that may need to be configured and/or updated?</p>