import React from 'react';

import styles from '../stylesheets/components/common/typography.css';

const Home = () => (
  <React.Fragment>
    <h1 className={styles.heading}>Home</h1>
  </React.Fragment>
);

export default Home;

import React from 'react';

import styles from '../stylesheets/components/common/typography.css';

const Home = () => (
  <>
    <h1 className={styles.heading}>Home</h1>
  </>
);

export default Home;

Use shorthand notation for fragments
Use shorthand notation for fragments
