Prevent page re-mounting on route param change
It appears that the entire Nuxt page gets unmounted & re-mounted when I change a route param (e.g. route.param.x), even tho the new route is the same one, just with a different param.
Is there any way to avoid this?
3 Replies
it appears that when the route param changes, Nuxt changes the :key of a parent component of the page which causes the re-render
setting a static key through
definePageMeta
worked!