Hello everyone. Why my web site doesn't open in ev...
# compose-web
a
Hello everyone. Why my web site doesn't open in every browser? Sometimes it's only showing white screen
d
If you open the dev console for the page does it show if any error was printed to it?
a
@Azat Berdimyradov is the problematic browser Safari? Safari does not currently support GC, which is needed for WASM/Compose Web. It won't work until they support it
👍 1
a
But problem was also in Google. In some devices it's work, in some devices doesn't work
a
check the dev console like David mentioned for errors and try changing the background of your app to check if it is an app problem or not
a
What do you mean by dev console?
a
browsers have a dev console which outputs logs from your page (ie javascript's
console.log()
). in chrome you press F12 to open the dev tools and then click on the console
👍 1
a
Oh, okay understood. thanks
👌 2
👍 1
a
if u need to do some trouble shooting with compose web with an app that works check this page: https://composablehorizons.github.io/compose-menu/ the preview of the component is a compose web app. it will load wherever compose web is supported, and it prints in the console if it will be loaded or not. PS: takes a few seconds for the app to load
a
Okay, thanks
c
KMP
js
target will work on Safari!
a
Chris is right. WASM doesnt work on Safari, while JS target does. I changed it on the documention for compose-menu and it just works now (with a bit of performance hit)
👍 1