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
FabiansGeikinsSpeckle
it appears that when the route param changes, Nuxt changes the :key of a parent component of the page which causes the re-render
FabiansGeikinsSpeckle
setting a static key through definePageMeta worked!
Want results from more Discord servers?
Add your server