title: stateless functional components and `react` import
body: <p>I face the same issue as described here
  <a href="https://github.com/babel/babel/issues/2504" rel="noreferrer">https://github.com/babel/babel/issues/2504</a></p>
  
  <p>So, any file which has only stateless components needs to have <code>react</code> imported like <code>import React from 'react';</code>, which is bit annoying (eslint gives error as unused variable; which I understand can be suppressed, still..). Is there a way to avoid having this import in a <code>webpack</code> based setup.</p>
  
  <p>thanks.</p>