props and the new value is the nextProps argument passed to the method. componentDidUpdate() takes two arguments as parameters, prevProps and prevState. 4.
確定! 回上一頁