BabylonJS / Editor

Community managed visual editor for Babylon.js
http://editor.babylonjs.com/
813 stars 232 forks source link

✨[Request Help | Recommendation]How to integrate React #390

Open wyd1520866381 opened 1 year ago

wyd1520866381 commented 1 year ago

Nowadays, using GUI or using HTML GUI some functions are no longer satisfied and are a bit inconvenient to use. So I want to integrate React for efficient development. But this is a bit difficult for me, and I've been researching for a while or no result. I would like to ask you guys if you have any good solutions.

julien-moreau commented 1 year ago

Hey @wyd1520866381 sure it is possible and I propose to create a template for that. I mean having a babylonjs scene running behind some React elements in foreground

seacloud9 commented 1 year ago

@julien-moreau I helped with babylonjs-react noticing its a little dated. I will make updates to it and start to integrate a solution via a template. I love the graphs would be cool to wire up props that way. I will work on a branch and present a solution. I love the work on this repo. This is awesome!

julien-moreau commented 1 year ago

Thanks @seacloud9 !!

Also, I started to add a Next.JS template where you'll be able to take example @wyd1520866381

seacloud9 commented 1 year ago

@julien-moreau Thanks I will take a look at the nextJS template!