scrolltop-on-mount Set react component scroll top on mount to top of viewport, mainly useful for wrapping different pages import withScrollTopHoc from 'scrolltop-on-mount' class RandomComponent { ...} export default withScrollTopHoc(RandomComponent)