Replies: 1 comment
-
|
I would love to see something like this with https://github.com/DioxusLabs/wasm-bindgen-wry which should give you the same webview layer dioxus gives you with sync typed bindings into the native rust code when you need to interact with the system and without rsx + all the rust rendering logic you don't seem to be using |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Dioxus is great; I actually prefer it to Tauri. Since I’m still learning Rust, I’m not yet comfortable writing the full UI in Dioxus, whereas I have much more experience with Bun and Node.js.
My goal: How can I seamlessly write the UI using Bun/React and have Dioxus serve it?
Repository: dioxus-react-example
The concept: Build the entire UI stack using Bun, React, and Tailwind. The Bun bundler compiles the assets, which are then linked to the Dioxus assets folder (via symlink or file copy). Finally, Dioxus serves the entire React app within a single RSX component.
I have also created some additional crates to simplify IPC (Inter-Process Communication) calls and routing between the two layers.
I’d welcome any ideas or feedback on this workflow!
Beta Was this translation helpful? Give feedback.
All reactions