Skip to content

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Dec 6, 2023

Now we have deep reactive state, this warning could do with a bit of improvement. Currently it warns on this:

some_state.foo.bar = something_else;

It should really only warn when re-assigning some_state. So this PR fixes that.

Copy link

changeset-bot bot commented Dec 6, 2023

🦋 Changeset detected

Latest commit: 0a333e2

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

Copy link

vercel bot commented Dec 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-5-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2023 4:03pm

@dummdidumm
Copy link
Member

Could you add a test to the validators test suite, checking that it doesn't show up for foo = .. but not for bar.baz = ..? Otherwise LGTM

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.

2 participants