Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR]: Integration Orillusion with react #445

Open
j209 opened this issue Aug 14, 2024 · 3 comments
Open

[FR]: Integration Orillusion with react #445

j209 opened this issue Aug 14, 2024 · 3 comments
Labels
feature New feature or request

Comments

@j209
Copy link

j209 commented Aug 14, 2024

Hi
I think seamless integration Orillusion with react may be good idea.
like three.js+react or babylon.js+react.

@j209 j209 added the feature New feature or request label Aug 14, 2024
@JingwenBai
Copy link
Collaborator

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:

  1. Vue and React, which one we should choose at the beginning?
  2. We consider to propose a project like A-frame, it is a pure web native syntax.
  3. 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.

@cqh963852
Copy link

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.

@cqh963852
Copy link

I can offer a simple solution.

  1. Create a vanilla js project
  2. Place the orillusion code in
  3. Using react's portal technology
  4. Bridge orillusion and react's store for data exchange

Remember not to handle orillusion in react effect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants