Skip to content

fix(vue): declare inline typed page props before rendering - #777

Merged
cpojer merged 1 commit into
voidzero-dev:mainfrom
dvkam:fix/773-vue-inline-props
Nov 11, 2026
Merged

cpojer merged 1 commit into
voidzero-dev:mainfrom
dvkam:fix/773-vue-inline-props

Conversation

@dvkam

@dvkam dvkam commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Refs #773

A Vue page could lose optional props that were absent from its first response. Declare keys from inline defineProps<{ ... }>() types before rendering so later responses can use them. Named and inferred types still use the existing runtime path.

Verified both request orders in SSR and checked that client navigation shows the new prop while keeping local page state. All 69 Vue tests and both affected type checks passed.

@cpojer cpojer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cpojer
cpojer marked this pull request as ready for review November 11, 2026 00:44
@cpojer
cpojer merged commit caaf7d3 into voidzero-dev:main Nov 11, 2026
2 checks 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