Skip to content

Commit 53ff3e0

Browse files
author
Nathan Sobo
committed
Add cursory readme
1 parent b1e182a commit 53ff3e0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
This is an attempt to make Facebook's react library more usable from
2+
CoffeeScript without escaping into JSX or painfully contorting syntax. Here's
3+
what I have so far.
4+
5+
```coffee
6+
class Welcome extends Component
7+
render: ->
8+
@div ->
9+
@text "Hello"
10+
@span @props.name
11+
12+
component = new Welcome(name: "World")
13+
element = component.buildElement()
14+
```

0 commit comments

Comments
 (0)