Open matthewdking opened 6 years ago
We initially decided not to do this because then we would be importing 'React' but not using it anywhere.
By using React.Component and React.Fragment we also have a clarity in the JSX on which are our components vs native to React.
Team - what are your thoughts?
My understanding is that React just needs to be in the scope for wherever you are writing JSX
Destructuring on import is a pattern that is widely used
Yay for destructing props and stuff throughout your project 🎉
Could destructure a few on import eg