-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Development warnings #13
Milestone
Comments
This was referenced Dec 7, 2016
Would this be a check like |
Something like that, yes — or maybe a compile option, like const { code, map } = svelte.compile( template, {
dev: true
}); |
I think I've gotten too used to working with view frameworks. |
Rich-Harris
added a commit
that referenced
this issue
Mar 1, 2017
Rich-Harris
added a commit
that referenced
this issue
Mar 1, 2017
add development warnings for missing data properties
Implemented in 1.9.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a few things that can't be caught with static analysis, such as missing data on first render. Is better if we only check those things in development mode, since it's unnecessary code in production otherwise.
The text was updated successfully, but these errors were encountered: