Answers for "react js single page website doesnt go to top of the page on load"

-1

how to make page scroll to the top jsx

componentDidMount() {
  window.scrollTo(0, 0)
}
Posted by: Guest on November-01-2020

Code answers related to "react js single page website doesnt go to top of the page on load"

Code answers related to "Javascript"

Browse Popular Code Answers by Language