handleClick is a different function object on every rendering of MyComponent . Because inline functions are cheap, the re-creation of functions ...
確定! 回上一頁