Last active
October 9, 2018 15:06
-
-
Save bedirhankaradogan/60734c3d3a5361e1237c7472ab3cd309 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 ClassComponent extends React.Component { | |
| render() { | |
| return "I'm the class component"; | |
| } | |
| } | |
| const RenderClassComponents = () => { | |
| return <ClassComponent />; | |
| } | |
| const rootElement = document.getElementById("root"); | |
| ReactDOM.render(<RenderClassComponents />, rootElement); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment