Created
May 1, 2017 16:09
-
-
Save kocisov/3f9d4796fedc3b86957355abd801bff9 to your computer and use it in GitHub Desktop.
sugar boi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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