I have seen two ways of accessing Component:
import React from 'react';
class Foo extends React.Component {
...
}
and
import React, { Component } from 'react';
class Foo extends Component {
...
}
Is there any difference between the two (maybe in performance, for example)?