Skip to content

Instantly share code, notes, and snippets.

Dmitri Pavlutin panzerdp

Block or report user

Report or block panzerdp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@panzerdp
panzerdp / app.jsx
Created Jul 8, 2017
Extract user data to component map method
View app.jsx
class App extends React.Component {
//....
render() {
return (
<div>
<h1>Users</h1>
<ul>
{this.state.users.map(this.userDataToComponent)}
You can’t perform that action at this time.