Skip to content

Commit 59ef007

Browse files
committed
chore: explain why we cant disable fething in package/[name].vue page
1 parent 891573b commit 59ef007

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/pages/package/[[org]]/[name].vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ const { diff: sizeDiff } = useInstallSizeDiff(packageName, resolvedVersion, pkg,
212212
const nuxtApp = useNuxtApp()
213213
const route = useRoute()
214214
// Gates template rendering only — data fetches intentionally still run.
215+
// immediate is set once at mount — skipped requests won't re-fire on navigation, leaving data permanently missing.
215216
const isVersionsRoute = computed(() => route.name === 'package-versions')
216217
const hasEmptyPayload =
217218
import.meta.client &&

0 commit comments

Comments
 (0)