In some cases we need to know a previous value of a prop or state in a React component. We show you how we get it.
確定! 回上一頁