minsung

Using Class type instead of Function type

import React from 'react';
import logo from './logo.svg';
import React,{ Component } from 'react';
import './App.css';
function App() {
class App extends Component {
render(){
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
Hello, React!!
</div>
);
);
}
}
export default App;
......