-
Notifications
You must be signed in to change notification settings - Fork 640
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
Property checking in host objects #1490
Comments
Hi, unfortunately HostObject does not support the "in" operation, because the HostObject API doesn't allow it: it only has 'get() This is unfortunately by design. See here: Line 1277 in 05d9e75
Yes, HostObject is awful... (though this probably doesn't help you). I am not sure what a solution here would look like. I am open to suggestions. |
We can't change the current behavior because that would break the existing API contract. However we can do betterL we discussed it and decided to add a Meanwhile I hope you can read the property and compare it to |
Bug Description
The behaviour described below has been noticed by us since many years now but we never had an issue with it until now.
Now that we run three.js on top of host objects, we have less flexibility on how they could behave.
I also acknowledge that this wouldn't be a problem if we were using native state instead of host objects.
The following:
@tmikov there is probably a semantic that I am missing here, if you could refresh me on what is the semantic here? Could this be a bug? I'm not sure.
The text was updated successfully, but these errors were encountered: