Skip to content

Instantly share code, notes, and snippets.

@alecperkins
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save alecperkins/54e63051921ab501404d to your computer and use it in GitHub Desktop.

Select an option

Save alecperkins/54e63051921ab501404d to your computer and use it in GitHub Desktop.

magritte-golconda

Component = React.createClass
displayName: 'Component'
render: ->
<div className='Component'>
Component! {@props.time}
</div>
React.renderComponent(Component(time=new Date()), document.getElementById('app'))
{
"name": "magritte-golconda",
"proto_version": "1.5.1",
"script_libraries": [
"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore-min.js",
"https://cdnjs.cloudflare.com/ajax/libs/react/0.11.2/react.js"
],
"style_libraries": [
],
"extra_head_markup": "<meta name='viewport' content='width=device-width'>"
}
@import 'nib'
h1
font-weight 300
font-family Helvetica
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment