Skip to content

Conversation

@trueadm
Copy link
Contributor

@trueadm trueadm commented Dec 16, 2024

Closes #14705 (comment).

Not sure why we still have these warnings as they're now unnecessary given we no longer mutate the original array from state.

@changeset-bot
Copy link

changeset-bot bot commented Dec 16, 2024

🦋 Changeset detected

Latest commit: b6d56e1

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

This PR includes changesets to release 1 package
Name Type
svelte Patch

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

@github-actions
Copy link
Contributor

Playground

pnpm add https://pkg.pr.new/svelte@14726

Copy link
Member

@Rich-Harris Rich-Harris left a comment

Choose a reason for hiding this comment

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

the warning isn't unnecessary, nothing has changed. we're just experiencing false positives

@trueadm trueadm closed this Dec 16, 2024
@trueadm trueadm deleted the remove-useless-array-methods branch December 16, 2024 19:33
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.

Warning: state_proxy_equality_mismatch when checking Array.prototype.includes after emptying the array

3 participants