Skip to content

Instantly share code, notes, and snippets.

@chris-burgin
Created January 31, 2018 18:52
Show Gist options
  • Save chris-burgin/c6ec68404f98b4f1e27ca0900a531e47 to your computer and use it in GitHub Desktop.
Save chris-burgin/c6ec68404f98b4f1e27ca0900a531e47 to your computer and use it in GitHub Desktop.
An example using PureComponent that extends on the MessageComponent example.
class Message extends PureComponent {
render() {
return <li style={{ margin: "10px" }}> {this.props.message} </li>
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment