Skip to content

Instantly share code, notes, and snippets.

@sanzhardanybayev
Created June 15, 2017 09:47
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 sanzhardanybayev/ab53d308cd4a16063b72f1b769f04f30 to your computer and use it in GitHub Desktop.
Save sanzhardanybayev/ab53d308cd4a16063b72f1b769f04f30 to your computer and use it in GitHub Desktop.
React Statefull component
import React, {PropTypes} from 'react';
import {Link, IndexLink} from 'react-router';
class componentName extends React.Component {
constructor(props) {
super(props);
}
componentDidMount(){
}
componentWillUnmount(){
}
render() {
return (
<div>
</div>
);
}
}
componentName.propTypes = {
};
export default componentName;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment