Skip to content

Conversation

Varixo
Copy link
Member

@Varixo Varixo commented Aug 12, 2025

Spread props caused calling get trap for every props property. It means propsproxy will unwrap signals and pass flat value instead. Now we are using new _getVarProps, _getConstProps functions to direct get props object instead of using proxy

@Varixo Varixo self-assigned this Aug 12, 2025
@Varixo Varixo requested a review from a team as a code owner August 12, 2025 19:49
Copy link

changeset-bot bot commented Aug 12, 2025

🦋 Changeset detected

Latest commit: 1a0ee9b

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Varixo Varixo moved this from Backlog to Waiting For Review in Qwik Development Aug 12, 2025
@Varixo Varixo force-pushed the v2-fix-spread-props-reactivity branch 2 times, most recently from 6846f0c to 6cc7bd0 Compare August 12, 2025 20:11
Copy link
Contributor

github-actions bot commented Aug 12, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

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

Copy link
Member

@wmertens wmertens left a comment

Choose a reason for hiding this comment

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

Looking great, just wondering about making var mutable?

@Varixo Varixo force-pushed the v2-fix-spread-props-reactivity branch from 6cc7bd0 to feae538 Compare August 13, 2025 14:14
Copy link

pkg-pr-new bot commented Aug 13, 2025

Open in StackBlitz

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/core@7809
npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/router@7809
npm i https://pkg.pr.new/QwikDev/qwik/eslint-plugin-qwik@7809
npm i https://pkg.pr.new/QwikDev/qwik/create-qwik@7809

commit: 1a0ee9b

@Varixo Varixo force-pushed the v2-fix-spread-props-reactivity branch from feae538 to 65f073d Compare August 13, 2025 14:50
@Varixo Varixo force-pushed the v2-fix-spread-props-reactivity branch from 65f073d to 1a0ee9b Compare August 13, 2025 15:16
Copy link
Member

@wmertens wmertens left a comment

Choose a reason for hiding this comment

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

LGTM

@wmertens wmertens merged commit 95e34f8 into build/v2 Aug 13, 2025
19 checks passed
@wmertens wmertens deleted the v2-fix-spread-props-reactivity branch August 13, 2025 18:25
@github-project-automation github-project-automation bot moved this from Waiting For Review to Done in Qwik Development Aug 13, 2025
Copy link
Member

@gioboa gioboa left a comment

Choose a reason for hiding this comment

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

@Varixo 👏 you are amazing 🤩

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

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[🐞] v2: task function does not re-run when props are tracked, and an inline component is part of the prop drill.

3 participants