-
Notifications
You must be signed in to change notification settings - Fork 795
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
bug: @Watch methods not firing in code build as dist-custom-elements output target #4221
Comments
Hey @bpark, Thanks for the detailed reproduction! I've confirmed that the method decorated with |
Hi @rwaskiewicz , the problem also occurs when the |
👋 The fix for this issue has been included in the 🏒 v3.2.2 release of Stencil, which was released earlier today. As a result, I'm going to close this issue. Should it reappear, please feel free to open a new issue. Thanks! |
Prerequisites
Stencil Version
3.2.0
Current Behavior
Code build as dist-custom-elements output, @watch decorated methods are not executed when a watched attribute is changed dynamically.
A similar issue was reported in Jun 1, 2020 and got fixed, but as I can see the fixes got reverted afterwards, see here #2478
Expected Behavior
Methods decorated with @watch should be executed on attribute change in code generated by a dist-custom-elements output
System Info
Steps to Reproduce
Code Reproduction URL
https://github.com/bpark/stencil-custom-elements-watch-bug
Additional Information
No response
The text was updated successfully, but these errors were encountered: