react-overlays icon indicating copy to clipboard operation
react-overlays copied to clipboard

Migrate to import * as React from 'react'

Open TrySound opened this issue 5 years ago • 2 comments

Ref https://github.com/facebook/react/pull/18102

TrySound avatar Feb 24 '20 20:02 TrySound

does this make sense to change until they actually provide an esm build?

jquense avatar Feb 24 '20 21:02 jquense

Rollup optimise import * as React from 'react' into import{createElement as a}from 'react'; which is not the case with default export prop access which may be side effectful.

Also it's a good for users to see these changes and start migration earlier.

TrySound avatar Feb 24 '20 22:02 TrySound