If you attempt to render a Threeagent component as a child of a reagent component, an error is thrown. It seems like reagent attempts to turn the threeagent primitive into an html element (e.g., :box => <box />). This makes sense, so I'm wondering if there's a good way to integrate threeagent with reagent.
I thought about having reagent render the parent container/canvas, and then having threeagent manually mount/render to the canvas. I'd like to avoid that if there's a cleaner option.
If you attempt to render a Threeagent component as a child of a reagent component, an error is thrown. It seems like reagent attempts to turn the threeagent primitive into an html element (e.g., :box =>
<box />
). This makes sense, so I'm wondering if there's a good way to integrate threeagent with reagent.I thought about having reagent render the parent container/canvas, and then having threeagent manually mount/render to the canvas. I'd like to avoid that if there's a cleaner option.