Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 358 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 358 Bytes

This is an attempt to make Facebook's react library more usable from CoffeeScript without escaping into JSX or painfully contorting syntax. Here's what I have so far.

class Welcome extends Component
  render: ->
    @div ->
      @text "Hello"
      @span @props.name

component = new Welcome(name: "World")
element = component.buildElement()