Skip to content

Instantly share code, notes, and snippets.

@hai5nguy
Created May 10, 2016 15:32
Show Gist options
  • Save hai5nguy/287f92437ba79d4d291ebae8561d4ec6 to your computer and use it in GitHub Desktop.
Save hai5nguy/287f92437ba79d4d291ebae8561d4ec6 to your computer and use it in GitHub Desktop.
export default class Home extends React.Component {
render() {
var blah = {
"blahprop1": "blahvalue1",
blahprop2: "blahpvalue2",
'blahprop3': 'blahvalue3',
blahprop4: 'blahvalue4',
'blahprop5': "blahvalue5"
}
var blah2 = {
blahprop2: "blah"
}
return (
<div>
<div>{blah.blahprop1}</div>
<div>{blah.blahprop2}</div>
<div>{blah.blahprop3}</div>
<div>{blah.blahprop4}</div>
<div>{blah.blahprop5}</div>
<div>{ { 'foo1': 'foo1' }.foo1 }</div>
<div>{ { "foo2": "foo2" }.foo2 }</div>
<div>{ { foo3: "foo3" }.foo3 }</div>
</div>
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment