You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm starting work on what'll be an SaaS with Go on the server-side backend and with the very decided goal of also offering non-browser client apps for the 2 major mobile & the 3 major desktop OSes right from the start.
Having in-depth evaluated (and ultimately after all ruled out, for one reason or another) the non-HTML/JS/CSS options of Flutter, QtQuick / QML, Fyne, Kotlin Multiplatform + Compose Multiplatform, I have now committed to the "Electron-like + Ionic-or-alike + Browser-based" option instead. Due to Electron bloatedness, I was instead considering Tauri, Wails and webview_go. Wails finally won out after another half day of reading around.
Anyone else going for maximal client-side code sharing between Wails and [browser and/or mobile]? Anything to look out for on the Wails / Go-embedding side? I guess I'll quickly have some global JS vars isDesktop / isMobile / isWeb for "ifdef logic", OK... but I presume one can without security / CORS headaches do, in Wails' webview / webkit etc, normal JS fetches out to any domain, etc? Have localStorage for auth tokens? (Wonder where that storage would end up, since it wouldn't be $HOME/config/.chromium I reckon.)
Well, a lot to be figured out at the latest during the active doing, but sometimes I like making threads and sharing or hearing lessons-learned =)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm starting work on what'll be an SaaS with Go on the server-side backend and with the very decided goal of also offering non-browser client apps for the 2 major mobile & the 3 major desktop OSes right from the start.
Having in-depth evaluated (and ultimately after all ruled out, for one reason or another) the non-HTML/JS/CSS options of Flutter, QtQuick / QML, Fyne, Kotlin Multiplatform + Compose Multiplatform, I have now committed to the "Electron-like + Ionic-or-alike + Browser-based" option instead. Due to Electron bloatedness, I was instead considering Tauri, Wails and webview_go. Wails finally won out after another half day of reading around.
Anyone else going for maximal client-side code sharing between Wails and [browser and/or mobile]? Anything to look out for on the Wails / Go-embedding side? I guess I'll quickly have some global JS vars isDesktop / isMobile / isWeb for "ifdef logic", OK... but I presume one can without security / CORS headaches do, in Wails' webview / webkit etc, normal JS
fetch
es out to any domain, etc? Have localStorage for auth tokens? (Wonder where that storage would end up, since it wouldn't be$HOME/config/.chromium
I reckon.)Well, a lot to be figured out at the latest during the active doing, but sometimes I like making threads and sharing or hearing lessons-learned =)
Beta Was this translation helpful? Give feedback.
All reactions