/** @jsx React.DOM */ /*
*/ var FolderView = React.createClass({ getInitialState: function() { return { list: {} }; }, componentDidMount: function() { $.get(this.props.source, function(result) { console.log('FolderView $.get', result); this.setState({list: result}); }.bind(this)); }, render: function() { // TODO: // - fill this out with data // - make unread conditional // - remove profile pic // - drop message excerpt // - trim 'Re:' from messages and group/thread them. return (
Tilo Mitra's avatar
Tilo Mitra

Hello from Toronto

Hey, I just wanted to check in with you from Toronto. I got here earlier today.

); } }); React.renderComponent( // TODO make '[all]' be set by clicking folders. , $('#list').get(0) );