9b40be8e44
This PR implements the route announcer for app directory. It almost uses the same logic as the route announcer inside pages, with one notable difference that the inner content node is now inside a shadow root. This makes sure that it does as little impact as possible, to the application. This is important as we no longer have the `__next` wrapper. Another thing worth mentioning is that the announced title is a global singleton of the website. It shouldn't be affected by the concept of layouts, but should be triggered when the router state (not just URL) changes. Closes NEXT-208. --------- Co-authored-by: JJ Kasper <jj@jjsweb.site>
5 lines
62 B
JavaScript
5 lines
62 B
JavaScript
module.exports = {
|
|
experimental: {
|
|
appDir: true,
|
|
},
|
|
}
|