import * as React tree shaking?

Viewed 699

import * as React from ‘react’

I’m using flow types and importing React like this is recommended. My question is does this have tree shaking implications? Is this importing more than I need and increasing my js file sizes?

0 Answers
Related