useRouter is a React Hook, meaning it cannot be used with classes. ... Let's say you have a login page, and after a login, you redirect the user to the ...
確定! 回上一頁