Last active
September 15, 2018 19:19
-
-
Save dance2die/75fcb22f74c265cf545917a9441f0242 to your computer and use it in GitHub Desktop.
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
class Greeting extends Component { | |
intervalID = 0; | |
componentDidMount() { | |
this.intervalID = setInterval(this.hello, 1000); | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment