We can wait for setState to finish before triggering a function by passing in a function as a 2nd argument of setState .
確定! 回上一頁