Last active
January 24, 2020 14:35
-
-
Save FrankGerold/1f3c2ce5567cf9a5ba20ac747bd9ae3d to your computer and use it in GitHub Desktop.
Traditioinal React Class Component
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, { Component } from 'react'; | |
class Demo extends Component { | |
render() { | |
return ( | |
<div>Class Component</div> | |
); | |
} | |
} | |
export default Demo; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment