Well, window.scrollTo(0, 0) would always stick to the top of the page. You are correct in saying this code should live in the componentDidMount function, ...
確定! 回上一頁