Last active
June 23, 2019 22:09
-
-
Save jslnriot/b3af3ec07538c5e0a1841c50ba274a00 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
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
class App extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
example: 'test' | |
}; | |
} | |
render() { | |
return ( | |
<div> | |
Display stuff like state ..... | |
{this.state.example} | |
</div> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment