Skip to content

Instantly share code, notes, and snippets.

@jackbrown
Last active September 15, 2016 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackbrown/e34173516e534d3aa990 to your computer and use it in GitHub Desktop.
Save jackbrown/e34173516e534d3aa990 to your computer and use it in GitHub Desktop.
ReactJS component file template for Webstorm
import React, {Component, PropTypes} from 'react';
export default class ${NAME} extends Component {
static propTypes = {};
constructor() {
super();
this.state = {};
}
componentWillMount() {
}
componentDidMount() {
}
componentWillReceiveProps() {
}
componentWillUpdate() {
}
componentDidUpdate() {
}
componentWillUnmount() {
}
render() {
return (
<div></div>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment