As you stated correctly the useEffect hook will only run if the values of the dependency array change. So it of course suffices if you only add the one value ...
確定! 回上一頁