const App = () => { const [count, setCount] = React.useState(0); const data = ['React', 'Memo', 'Optimization']; return ( <div> <button onClick={() => setCount(count + 1)}>Increase Count</button> <DataDisplay data={data} /> </div> ); };