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

Dev warning for bad component.observe #369

Closed
Rich-Harris opened this issue Mar 13, 2017 · 1 comment
Closed

Dev warning for bad component.observe #369

Rich-Harris opened this issue Mar 13, 2017 · 1 comment

Comments

@Rich-Harris
Copy link
Member

If someone does e.g. component.observe('foo.bar', ...) we should explain that you can only observe top-level properties when dev: true.

@Conduitry
Copy link
Member

This is another case where we kind of need to be able to have separate dev mode and prod mode versions of a helper function. I've looked into that a little in #365 but perhaps that should be extracted into its own issue.

Rich-Harris added a commit that referenced this issue Mar 16, 2017
Rich-Harris added a commit that referenced this issue Mar 16, 2017
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

No branches or pull requests

2 participants