Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In dev mode, throw if user sets a read-only property #463

Merged
merged 3 commits into from
Apr 11, 2017

Conversation

Rich-Harris
Copy link
Member

This is another part of #404 (throwing if the user sets width when that's bound to window.innerWidth etc), but it made sense to implement it in such a way that the same thing happens if the user sets a computed property.

There's a little bit of noise in this PR because it includes #461 and #462.

@Rich-Harris Rich-Harris changed the title In dev mode, throw if users sets a read-only property In dev mode, throw if user sets a read-only property Apr 10, 2017
@Rich-Harris Rich-Harris merged commit 262f4aa into master Apr 11, 2017
@Rich-Harris Rich-Harris deleted the readonly-dev-warning branch April 11, 2017 15:34
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.

1 participant