Skip to content

Conversation

@harlan-zw
Copy link
Collaborator

πŸ”— Linked issue

❓ 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

Makes renderSSRHead synchronous, matching the renderDOMHead change.

⚠️ Breaking Changes

- const head = await renderSSRHead(head)
+ const head = renderSSRHead(head)

Hooks must be synchronous:

hooks: {
-  'ssr:beforeRender': async (ctx) => { ... }
+  'ssr:beforeRender': (ctx) => { ... }
}

This was referenced Jan 4, 2026
@harlan-zw harlan-zw merged commit 44d719d into v3 Jan 4, 2026
1 check passed
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.

2 participants