Skip to content

Conversation

josephsavona
Copy link
Member

@josephsavona josephsavona commented Jun 6, 2025

Stack from ghstack (oldest at bottom):

Updates fixtures whose output I've double-checked should change

Updates fixtures whose output I've double-checked should change

[ghstack-poisoned]
This was referenced Jun 6, 2025
}
const context = t2;

mutate(key);
Copy link
Member Author

Choose a reason for hiding this comment

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

the fact that key was incorrectly used as an object key doesn't mean it isn't a mutable object that can mutate here

Comment on lines +21 to +25
onClick={() => data.get(i) + prop1}
shouldInvokeFns={true}
/>
);
i = i + 1;
Copy link
Member Author

Choose a reason for hiding this comment

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

the reassignment is mutating a value captured by jsx, this should have been rejected

Updates fixtures whose output I've double-checked should change

[ghstack-poisoned]
Updates fixtures whose output I've double-checked should change

[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants