Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
class $class$ extends Component {
static contextTypes = {
};
static childContextTypes = {
};
static propTypes = {
};
static defaultProps = {
};
constructor(props) {
super(props);
this.state = {
};
}
componentWillMount() {
}
componentWillUnmount() {
}
render() {
const { props } = this;
return (
<div>$END$</div>
);
}
}
export default connect(
state => ({
// mapStateToProps
}), {
// mapDispatchToProps
}
)($class$);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment