Replies: 1 comment 1 reply
-
dioxus is a React-like library written in rust. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been exploring an integration between 🔄 Bevy and React GUI to enable communication 📬 between UI actions in React and Bevy's logic handling 🧠.
🛠 Implementation Snapshot:
I utilized winit's event_loop_proxy to send messages. Below is a snippet of how I managed to send messages to Bevy from React by modifying winit_runner method:
In Bevy app initialization code, I ensured the event loop proxy is accessible to send messages:
❓ Seeking Feedback:
Is this approach aligning with Bevy’s design principles and best practices?
Can this be optimized further for more efficient message passing?
Curious if anyone has implemented something similar or has thoughts on this method!
I'm excited to hear any thoughts or suggestions and to discuss further! 🚀
Beta Was this translation helpful? Give feedback.
All reactions