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

Explore using `.setAttribute` calls directly using `ref` on props changed, rather than having React render #71

Closed ngokevin closed 7 years ago

ngokevin commented 7 years ago

Would be more performant since we can pass objects directly to setAttribute rather than serializing!

ngokevin commented 7 years ago

Done!

oldpacklikez commented 7 years ago

Can you give me a example, I'm a beginner !