In the first example, the handleClick function is passed as an onClick event ... This is because JavaScript inside the JSX { and } executes right away.
確定! 回上一頁