React.useCallback() memoizes callback functions. ... handle the click event ... return <button onClick={onClick}>I am a child</button>;.
確定! 回上一頁