Skip to content

Instantly share code, notes, and snippets.

Евгений LopatkinEvgeniy

Block or report user

Report or block LopatkinEvgeniy

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
LopatkinEvgeniy / Enhance.js
Created Jan 13, 2016 — forked from sebmarkbage/Enhance.js
Higher-order Components
View Enhance.js
import { Component } from "React";
export var Enhance = ComposedComponent => class extends Component {
constructor() {
this.state = { data: null };
componentDidMount() {
this.setState({ data: 'Hello' });
render() {
You can’t perform that action at this time.