You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to access the tracked descriptor in a subsequent decorator, it will always be undefined. Thus preventing me from creating a custom decorator for a @tracked property. Am I going about this incorrectly? Any help would be appreciated, thanks!
Background
I'm attempting to create a custom decorator to apply to a
@trackedproperty in order to execute a function whenever the property's value is set.Here's a simplified version of the component and the decorator:
Problem
When trying to access the tracked descriptor in a subsequent decorator, it will always be
undefined. Thus preventing me from creating a custom decorator for a@trackedproperty. Am I going about this incorrectly? Any help would be appreciated, thanks!Version