supermedium / aframe-react

:atom: Build virtual reality experiences with A-Frame and React.
https://ngokevin.github.io/aframe-react-boilerplate/
MIT License
1.42k stars 151 forks source link

Refs are being mangled: can't get a ref to the element behind an Entity #99

Closed snickell closed 7 years ago

snickell commented 7 years ago

<Entity ref={ myEl=> { console.log("I think this should be a DOM Node: ", myentity)/>

Expected: myEl is a DOM Node Observed: myEl is a react object with no way to access the DOM node

snickell commented 7 years ago

Hm, I think I'm in error here