Last active
December 16, 2015 21:22
-
-
Save mobinni/de10e2dfc40a4bc9ed21 to your computer and use it in GitHub Desktop.
A Modern Isomorphic Stack with Redux - Part 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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