Replies: 1 comment 3 replies
-
|
@mweststrate May I poke u here?) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I wanted to clarify whether this behaviour is expected.
Case: an instance of a class is created in the
computed, and then we try to receive the result of the computed value (test) in this class, in thecheckmethod. As a result, an incorrect result is returned. There are two causes of the invalid getter:testgetter inside the settermakeObservablein the super-classWhen the parent
computedTestcomputed is created, the class getter returns the valid value.Playground: https://codesandbox.io/p/sandbox/4nzv99
Is that intended?
Beta Was this translation helpful? Give feedback.
All reactions