reactjs. Where do I have to put the window.scrollTo(0,0) call in a react component? I tried to put it directly into render and also tried componentDidUpdate ...
確定! 回上一頁