Last active
January 7, 2021 05:08
-
-
Save robzlabz/275d29d82ad3108b144aea5a6646febb 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, { Component } from "react"; | |
class ClassComponent extends Component { | |
render() { | |
return <h1>JSX di dalam fungsi render component</h1>; | |
} | |
} | |
/// atau 👇 | |
import React from "react"; | |
class ClassComponent extends React.Component { | |
render() { | |
return <h1>JSX di dalam fungsi render component</h1>; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment