Skip to content

eldh/react-coffee-elements

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Coffee Elements Build Status

Simplifies writing React DOM elements when using CoffeeScript. Instead of writing:

React = require 'react'

{div, h1, p} = React.DOM


div {},
  h1 {}, "My great page"
  p {}, "My awesome content"

One now can skip the empty option objects and just write:

Elements = require 'react-coffee-elements'

{div, h1, p} = Elements


div(
  h1 "My great page"
  p "My awesome content"
)

About

Compact React element syntax when using CoffeeScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 88.6%
  • Makefile 11.4%