Skip to content
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:schema:warn Unknown property 0 for component/system #124

Open
ChristopheBougere opened this issue Feb 2, 2019 · 0 comments
Open

core:schema:warn Unknown property 0 for component/system #124

ChristopheBougere opened this issue Feb 2, 2019 · 0 comments

Comments

@ChristopheBougere
Copy link

Quite similar to #40
When creating a custom component which has no properties, React converts this:
<Entity my-custom-component />
to
<Entity my-custom-component="true" />
Aframe is expecting an object for the schema, and thinks it has 4 properties (t, r, u and e).
A quick workaround is to set an empty string as property:
<Entity my-custom-component="" />
But could this be fixed by aframe-react?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant