Skip to content

Instantly share code, notes, and snippets.

@mobinni
Last active December 16, 2015 21:22
Show Gist options
  • Save mobinni/de10e2dfc40a4bc9ed21 to your computer and use it in GitHub Desktop.
Save mobinni/de10e2dfc40a4bc9ed21 to your computer and use it in GitHub Desktop.
A Modern Isomorphic Stack with Redux - Part 1
/**
* Created by mobinni on 08/12/15.
*/
import React, {Component} from 'react';
import {Link} from 'react-router';
if(process.env.BROWSER) {
require( '../../../../styles/components/feed.scss');
}
class Feed extends Component {
constructor(props, context) {
super(props, context);
}
render() {
return (
<div>
<ul>
<Link to={'/feed/1'}>Item 1</Link>
<Link to={'/feed/2'}>Item 2</Link>
<Link to={'/feed/3'}>Item 3</Link>
</ul>
</div>
)
}
}
export default Feed;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment