Skip to content

Instantly share code, notes, and snippets.

@robzlabz
Last active January 7, 2021 05:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robzlabz/275d29d82ad3108b144aea5a6646febb to your computer and use it in GitHub Desktop.
Save robzlabz/275d29d82ad3108b144aea5a6646febb to your computer and use it in GitHub Desktop.
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