return <div>Hello {this.props.name}</div>
What is this returning? A string, or a var '<div>Hello {this.props.name}</div>'? Never seen js that looks like this return <div>Hello {this.props.name}</div>
What is this returning? A string, or a var '<div>Hello {this.props.name}</div>'? Never seen js that looks like thisFrom the article: > The data returned from render is neither a string nor a DOM node -- it's a lightweight description of what the DOM should look like.
Like @thezilch said, the syntax is JSX, which is pre-processed into runnable JS.
ps. looks like a useful project