import React, {useState} from 'react';
import './App.css';

function App() {

  let [입력값, 입력값변경] = useState(''); 

  return (
    <div className="App">

      <h3>{ 입력값 }</h3>
      <input onChange={(e)=>{ 입력값변경(e.target.value) }}></input>
     
    </div>
  );
}

export default App;

+ Recent posts