Here's an example with a functional component. function App() { React.useEffect(() => { // Runs after the first render() lifecycle }, []); return <h1> ...
確定! 回上一頁