Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on React v0.8 is out. Parent comment
<tabManager background={'blue'}> <tab closeButton={true}> Hello {this.props.Name} </tab> </tabManager>
Would be valid in react.
Check out http://facebook.github.io/react/#todoExample, specifically the render function.
I think this is pretty easy to understand:
<div> <h3>TODO</h3> <TodoList items={this.state.items} /> <form onSubmit={this.handleSubmit}> <input onChange={this.onChange} value={this.state.text} /> <button>{'Add #' + (this.state.items.length + 1)}</button> </form> </div>
There are no comments on this comment yet.
<tabManager background={'blue'}> <tab closeButton={true}> Hello {this.props.Name} </tab> </tabManager>
Would be valid in react.
Check out http://facebook.github.io/react/#todoExample, specifically the render function.
I think this is pretty easy to understand: