import React, {Component} from 'react';

class Home extends Component {
    render() {
        return (
            <div>
                HOME
            </div>
        )
    }
}

export default Home;

import React from 'react';

const Home = () => {
    return (
        <div>
            HOME
        </div>
    );
};

export default Home;

Use functional style of home presentational component
Use functional style of home presentational component
