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
Core: Switch to Object.defineProperty( this, 'is*', { value: true } ); #24093
Comments
Um, I don't see any problems with the editor. How can the error be reproduced? |
Probably no good idea: #21284. |
Ah I see, indeed. that was when sending Should we close this issue then? |
Yup, we used |
Yes. I don't think this issue is a reason for reverting the PR. |
@marcofugaro I've just noticed that public instance fields are internally added via
That means public instance fields could eventually introduce the same performance issue like when directly using |
@Mugen87 ah yes good point, we need to do performance profiling before switching to class fields. And report eventual finding as you said. |
Tried to give a try to the
this.is*
commit, everything looks ok so far except when serializing / deserializingTypeError: Cannot add property isVector3, object is not extensible
I had to convert all the math class to this pattern:
Object.defineProperty(` this, 'isVector3', { value: true } );
Related:
#24047 #24092
The text was updated successfully, but these errors were encountered: