Hi, I have a small wasmjs webapp, and all is nice,...
# compose-web
v
Hi, I have a small wasmjs webapp, and all is nice, except the initial loading time. I tried showing some splash screen, but for some reason, it has no effect. I've modifed index.html to show some loading animation. And inside my composable i have: LaunchedEffect(Unit) { hideLoadingScreen() } But the loading screen disappear almost immediately, and then i stare at blank screen for ~5 seconds, than my app shows. Any ideas?
b
I don't have an idea, but I suggest you open this as a feature request (unless it already exists) - as I think most projects will have the same need.
By that I mean that Compose Web should have a built-in mechanism for a splash screen or something like that.
v
Solved it, was just a bug in my code ;)
b
ah 🙂 Good!
But still it would be nice if something built-in existed, rather than some ad-hoc dev
v
So maybe one day 🙂
b
perfect