We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource: Next.js: Migrate routing hooks
Currently, the following UI components are shared globally and rendered in the Layout component for the page router:
Layout
page
Band
ParticlesBg
BackToTopButton
Header
GlobalNav
GithubAnchor
LogoAnchor
NavDropDown
NavIcon
NavLink
Footer
Notification
PageTitle
In this issue, we want to render Header in the root layout of the app router. We'll also need to migrate the routing hook useRouter.
app
useRouter
As stated above, refactor the Header component and render it in the root layout of the app router.
The text was updated successfully, but these errors were encountered:
nozomione
No branches or pull requests
Context
Resource: Next.js: Migrate routing hooks
Currently, the following UI components are shared globally and rendered in the
Layout
component for thepage
router:Band
ParticlesBg
BackToTopButton
Header
GlobalNav
GithubAnchor
LogoAnchor
NavDropDown
NavIcon
NavLink
Footer
Notification
PageTitle
In this issue, we want to render
Header
in the root layout of theapp
router. We'll also need to migrate the routing hookuseRouter
.Problem or idea
As stated above, refactor the
Header
component and render it in the root layout of theapp
router.Solution or next step
Header
and adjust the sub-components as necessaryapp
folderThe text was updated successfully, but these errors were encountered: