const React = require('react');
const NavLink = require('react-router-dom').NavLink;
const Classes = require('./styles.scss');

// Link/NavLink replaced Router.Link
// https://reacttraining.com/react-router/web/api/Link

module.exports = () => (

    <div>
        <h1>Strangeluv</h1>
        <NavLink to='/' activeClassName={Classes.activeRoute}>
            Home
        </NavLink>
        {' · '}
        <NavLink to='/counter' activeClassName={Classes.activeRoute}>
            Counter
        </NavLink>
    </div>

);

const React = require('react');
const NavLink = require('react-router-dom').NavLink;
const Classes = require('./styles.scss');

module.exports = () => (

    <div>
        <h1>Strangeluv</h1>
        <NavLink to='/' activeClassName={Classes.activeRoute}>
            Home
        </NavLink>
        {' · '}
        <NavLink to='/counter' activeClassName={Classes.activeRoute}>
            Counter
        </NavLink>
    </div>

);

remove comments