libvis
v1.0.1
Published
libraries included:
Downloads
2
Readme
React + Coffeescript + Hot reload = <3
libraries included:
- coffeescript
- less, css
- react-router
- axios
Also, webpack configured to serve for all ip, work with react-router and use CORS
Use this repo to set up your development for web apps in coffeescript.
Why coffeescript?
because it's less verbose. I personally love to use this style of syntax:
import React, { Component } from 'react'
import L from 'react-dom-factories'
L_ = React.createElement
Greeting = ()->
L.div className:'greeting',
L.h2 style:textAlign:'center', 'Hello World'
export default class App extends React.Component
constructor:->
super()
render: ->
L.div className:'app',
L_ Greeting, null
ReactDOM.render <App />, document.getElementById 'root'