Skip to content

Instantly share code, notes, and snippets.

View LeezQ's full-sized avatar
🏠
Working from home

allence LeezQ

🏠
Working from home
View GitHub Profile
@LeezQ
LeezQ / Enhance.js
Last active August 29, 2015 14:20 — forked from sebmarkbage/Enhance.js
import { Component } from "React";
export var Enhance = ComposedComponent => class extends Component {
constructor() {
this.state = { data: null };
}
componentDidMount() {
this.setState({ data: 'Hello' });
}
render() {
@LeezQ
LeezQ / flexbox.less
Last active August 29, 2015 14:21 — forked from jayj/flexbox.less
// FlexLess
// ========
//
// Less mixins for using flexbox without crying.
//
// Last update: 02.08.2013