[FR]: Integration Orillusion with react
Hi I think seamless integration Orillusion with react may be good idea. like three.js+react or babylon.js+react.
Thanks a lot for this consideration!
To be honest, this topic has been discussed in our Team for many times. We have following concerns and hope we could have a further talk:
VueandReact, which one we should choose at the beginning?- We consider to propose a project like
A-frame, it is a pure web native syntax. - It really takes time for us. If some more developers could join and discuss. It must be very helpful.
We will leave this issue open for some time and looking forward to more comments here.
From what I know about reactive front-end frameworks, the rendering performance of these frameworks is not as good as that of game engines because they are not optimized for dedicated game scenes.
If users incorrectly use the front-end framework to drive game engine behavior, it may cause serious performance problems.
I can offer a simple solution.
- Create a vanilla js project
- Place the orillusion code in
- Using react's portal technology
- Bridge orillusion and react's store for data exchange
Remember not to handle orillusion in react effect
Whether it's Vue or React, please treat them as UI frameworks. Never combine WebGPU with them.