I have a question regarding the difference between
import React from 'react';
import Container from 'react-bootstrap/Container';
class Home extends React.Component {
render() {
return (
<div>
<Container></Container>
</div>
)
}
};
export default Home
and
import React from 'react';
import Container from 'react-bootstrap/Container';
class Home extends React.Component {
render() {
return
<div>
<Container></Container>
</div>
}
};
export default Home
Note the parentheses after return, if I don't have the parentheses I get a compile error