Skip to content

Instantly share code, notes, and snippets.

@kocisov
Created May 1, 2017 16:09
Show Gist options
  • Save kocisov/3f9d4796fedc3b86957355abd801bff9 to your computer and use it in GitHub Desktop.
Save kocisov/3f9d4796fedc3b86957355abd801bff9 to your computer and use it in GitHub Desktop.
sugar boi
// you can replace constructor with this
class Dashboard extends Component {
state = {
user: {}
}
componentDidMount() {...}
render() {...}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment