In both cases, when the onClick handler is called and either this.count or countRef.current are updated, the component will not re-render.
確定! 回上一頁