is there anyone who’s tackled getting cljsrn as a UI where on desktop the application logic runs on the JVM? i think all the UI tools I want are available for desktop/mobile on react-native but i’d love to be able to have desktop processing run with full JVM functionality with native FFI and threads etc rather than ports to the JS world. i’m assuming the “laziest” version would be something like accepting defeat and having the desktop be react-native-web served by a javafx webview, but that seems a little roundabout
Maybe you could try Humble UI https://github.com/HumbleUI/HumbleUI ? > Humble UI is a desktop UI framework for Clojure. No Electron. No JavaScript. Only JVM and native code.
I think it's highly experimental and there are no docs, but there are some examples here https://github.com/HumbleUI/HumbleUI/tree/main/dev/examples
i was thinking that too, but i was hoping to be able to (i know, i know it’s naive) write once run desktop+mobile and as best as I can tell, humbleui would be JVM only. I suppose your suggestion is actually to give up on trying to reuse, do humbleui for desktop, and cljsrn for mobile
yes, cljsrn for mobile and humbleui for desktop. There is also react-native-desktop-qt project https://repos.status.im/status-im/react-native-desktop-qt, but it's not supported anymore