Skip to content

Instantly share code, notes, and snippets.

@arqex
Created May 16, 2017 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arqex/b97e5e71ebe08c1c4f1cd28e85d8b9bf to your computer and use it in GitHub Desktop.
Save arqex/b97e5e71ebe08c1c4f1cd28e85d8b9bf to your computer and use it in GitHub Desktop.
Messages component
class Messages extends React.Component({
render(){
if( this.props.store.status === 'LOADING' ){
return this.renderLoading();
}
else {
return this.renderReady();
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment