My program, a Desktop app using YEW (0.21) + Tauri (2.0)
I am integrating a config.toml and config.rs file.
When I start Tauri app in dev mode the intro video is flickering 3 or 4 times, like it was updating.
Trunk serve --open
//here the last eight lines of output:
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
2025-03-23T20:16:20.512692Z INFO applying new distribution
2025-03-23T20:16:20.516223Z INFO ✅ success
2025-03-23 21:16:21.232 app[41776:4132521] +[IMKClient subclass]: chose IMKClient_Modern
2025-03-23 21:16:21.232 app[41776:4132521] +[IMKInputSession subclass]: chose IMKInputSession_Modern
RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID
RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID
Upon inspecting the element the console gives me this warning, and it might be related?
[Warning] The resource http://localhost:8080/yew-app-23fb54b6cf82e0d7_bg.wasm was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing.
- How do I get rid of the "update flickering" in the beginning?
- Is the output from inspecting the element related to the flickering?
The codebase can be found here:
https://github.com/martinschultzkristensen/yew-web-app/tree/feature/config_v2
You need to have installed YEW 0.21 and Tauri 2.0 to run.
Thanks for contributing.