Skip to content

Conversation

@huang-julien
Copy link
Member

@huang-julien huang-julien commented Jan 2, 2026

πŸ”— Linked issue

resolve #80

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This PR adds prerender hints based on ssrContext properties access. For now, it's better to not set any filters to avoid false positive.

TODO

  • Wrap useEvent/nuxtApp.ssrContext composables to set the value to false

Next step:

  • Store data server side like hdyration hints. Theses data can be used to tell the user which route can be prerendered
  • devtools UI

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 2, 2026

Open in StackBlitz

npm i https://pkg.pr.new/nuxt/hints/@nuxt/hints@184

commit: cd8cd49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

detect and recommend static/prerendering

2 participants