muttley
Examples/Routing/Pages difference static vs reload
I'm noob and still learning...sorry for the trivial question.
In the official example: https://nuxt.com/docs/examples/routing/pages
I don't understand what difference should be between the
parent/reload-[id]
and parent/static-[id]
pages.
I thought the presence of key:
in the static-[id]
page, should prevent the re-rendering as described in Child Route Keys. Avoiding the increment of the reloads
var, and the onMounted()
execution.
So, what is the behavioral difference between the two routes: parent/reload-[id]
and parent/static-[id]
?
And the meaning of key
in the definePageMeta()
arg?
Thanks!5 replies