-
-
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
Warnings in dev mode showing up for helper functions in version 1.16.0 #492
Comments
The obvious way to address this is to add a |
I forgot to account for helpers when implementing the new At the moment we're not considering the possibility that helpers might be shadowed. The code that turns (Semi-relatedly, I've wondered if helpers should always take precedence over data etc and not just when they're a CallExpression callee, since at the moment things like The immediate issue is fixed by #493 though. |
Don't treat helpers as dependencies
This seems like a regression in version 1.16.0. I can’t reproduce it on the REPL (since it doesn’t run in dev mode).
As an example I have a component that looks like this
The generated code looks like this:
timeToDisplayTime
should not be checked as part of the state (I don’t think).This could be an issue with my code. I may not be using the helper functions correctly
The text was updated successfully, but these errors were encountered: