Replies: 4 comments 6 replies
-
You will have to reference the exports here: From there you can add the three.js objects to display. Since you are using reach, you might as well use react-fiber |
Beta Was this translation helpful? Give feedback.
-
@ivanlen feel free to submit an issue to the author of |
Beta Was this translation helpful? Give feedback.
-
I have successfully integrated AR.js with React.js; however, I am uncertain whether I have followed the correct approach. I would greatly appreciate it if someone could assist me in verifying the integration. I am relatively new to this and dedicated three days to unraveling the process, eventually achieving the integration. Your help would be invaluable. |
Beta Was this translation helpful? Give feedback.
-
@sdmrf Your link no longer works, do you have another project? |
Beta Was this translation helpful? Give feedback.
-
Hey, I am learning react and I would like to implement ARjs in react.
Is there some kind of working example on how to implement the code with react?
I am trying to reproduce the location based example but to be honest I am kind of lost.
What I am expecting is building a component that based on some logic returns/renders the example.
I tried using
dangerouslySetInnerHTML
but is not working. I guess that I have to use the npm package, but I don't know how to implement it with react.I managed to modify the location based example with gltf files that I made with blender and everything is working great in a html file.
So the question would be how to migrate my html code to a code that can be implemented in react.
Beta Was this translation helpful? Give feedback.
All reactions