-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
COMP: runtimeTYPE: bugSomething isn't workingSomething isn't workingVERSION: upcoming majorWAITING FOR: teamWaiting for one of the core team members to review and replyWaiting for one of the core team members to review and reply
Description
Which component is affected?
Qwik Runtime
Describe the bug
- Iterate through an array
- Read an item's property and pass it as prop (_fnSignal)
- Use computed in child component won't trigger
Passing the item as a whole OR creating a 150 char long expression works.
I think this reactivity issue is as old as v2 (might help with debugging)
Reproduction
https://stackblitz.com/edit/github-ycxr2gdp?file=src%2Froutes%2Findex.tsx
Steps to reproduce
Run the stackblitz and click on the button. Check browser console for which USE COMPUTED are triggered. You will see that:
- directlly passing array item -- Works
- passing item's property -- Doesn't work
- passing item's property but making a hack expression of 150 characters -- Works
System Info
The version on stackblitz is beta 16, but can be reproduced on many different versionsAdditional Information
No response
Metadata
Metadata
Assignees
Labels
COMP: runtimeTYPE: bugSomething isn't workingSomething isn't workingVERSION: upcoming majorWAITING FOR: teamWaiting for one of the core team members to review and replyWaiting for one of the core team members to review and reply