Skip to content
Discussion options

You must be logged in to vote

That's the Activity component from React, https://react.dev/reference/react/Activity, being wrapped around your routes. It is part of the Cache Components feature set. https://nextjs.org/docs/app/getting-started/cache-components#navigation-with-cache-components

There's a max number of routes that'll stay in the DOM before being clean up as well.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dninomiya
Comment options

Answer selected by dninomiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants