React Tips - return statement with parentheses

class SearchMovies extends Component {
    render() {
        return (
             <p> StarWars </p>
         )
    }
}

Notice the return statement has parentheses() not braces{}

This is because of JavaScript's automatic semicolon insertion. So, the return will have no value if we have braces, parentheses helps in overcoming that. Parentheses are not needed if JSX is in a single line.