Skip to content

fix: track props initialized with function call defaults - #8871

Open
Varixo wants to merge 1 commit into
mainfrom
v2-props-defaults
Open

fix: track props initialized with function call defaults#8871
Varixo wants to merge 1 commit into
mainfrom
v2-props-defaults

Conversation

@Varixo

@Varixo Varixo commented Jul 22, 2026

Copy link
Copy Markdown
Member

The optimizer now supports destructured props with function-call defaults while preserving task and JSX reactivity. Dynamic defaults are evaluated conditionally once, while defaults referencing other destructured values remain untransformed.

@Varixo Varixo self-assigned this Jul 22, 2026
@maiieul maiieul moved this to In progress in Qwik Development Jul 22, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jul 22, 2026

Copy link
Copy Markdown

Open in StackBlitz

@qwik.dev/core

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/core@8871

@qwik.dev/router

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/router@8871

eslint-plugin-qwik

npm i https://pkg.pr.new/QwikDev/qwik/eslint-plugin-qwik@8871

create-qwik

npm i https://pkg.pr.new/QwikDev/qwik/create-qwik@8871

@qwik.dev/optimizer

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/optimizer@8871

@qwik.dev/devtools

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/devtools@8871

commit: 1d62cd9

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview 1d62cd9

@Varixo
Varixo marked this pull request as ready for review July 22, 2026 16:27
@Varixo
Varixo requested a review from a team as a code owner July 22, 2026 16:27
@maiieul maiieul moved this from In progress to Waiting For Review in Qwik Development Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Waiting For Review

Development

Successfully merging this pull request may close these issues.

[🐞] v1&v2: tracking optional property default-initialized by function call does not re-run task

2 participants