import * as React from 'react';
- React team now actually recommends import * as React from "react"; now. Here's a reference pull request: https://github.com/facebook/react/pull/18102
- React is not an ES6 library, it uses "module.exports = React.default || React" (Node CommonJS) => need Webpack.
- Typescript is strict (follows the rules) when it comes to this, which is why they require you to import * as React from 'react'
- Tree-shaking should work.
- Material-ui also migrated to this syntax.