1 useState import { useState } from 'react'; export const App = () => { const [count, setCount] = useState(0); return ( <button onClick={() => setCount(count + 1)}> {count} </button> ) } export default App;