Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ContactList extends React.PureComponent {
- // ^^^^^^^^^^^^^ magic happens here
- render() {
- const { contacts } = this.props;
- return <List data={contacts} />;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement