Skip to content

Instantly share code, notes, and snippets.

@tocttou
Last active March 28, 2017 18:04
Show Gist options
  • Save tocttou/d283b67dc8d66704c3c737411e364557 to your computer and use it in GitHub Desktop.
Save tocttou/d283b67dc8d66704c3c737411e364557 to your computer and use it in GitHub Desktop.
import React, { PureComponent } from 'react';
export default class SecondChild extends PureComponent {
render() {
console.log("Rendering!");
return (
<div>
{this.props.text}
</div>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment