Why does using the <title> in the body of a component disable auto-scroll to top?
Unanswered
Brown bear posted this in #help-forum
Brown bearOP
I was using it to display the title dynamically based on the data I get from my API, but now I gotta figure out another solution.
I guess my other question now is, how do I replace the url (router.push & router.replace?) and title with content I receive from my API? For example, clicking on Season 2 takes me to a different page (even though its the same layout), calls the API endpoint from season 2 and loads the information.
I guess my other question now is, how do I replace the url (router.push & router.replace?) and title with content I receive from my API? For example, clicking on Season 2 takes me to a different page (even though its the same layout), calls the API endpoint from season 2 and loads the information.