how to reach top of the page after react navigation code example Example: how to make page scroll to the top jsx componentDidMount() { window.scrollTo(0, 0) }