Compose Multiplatform 1.13.0 adds WebGL support and faster desktop startup
Brief
Compose Multiplatform 1.13.0 brings updates for iOS, web, and desktop development.
Key changes
- Compose views in SwiftUI and UIKit can report a preferred size based on available space, letting native containers adapt to their content.
- An experimental WebGL API lets developers display graphics rendered with a shared WebGL context alongside Compose UI, including content from JavaScript renderers such as three.js.
- Desktop apps can use AppCDS or AOT caching to improve startup; in a small demo app, AotPrebuild made cold starts up to 4.8× faster.
Other updates
- The release also includes updates from Jetpack Compose 1.13, including the state-based BasicTextField and stable FlexBox, Grid, and LazyLayoutCacheWindow APIs.
Generated by AI from the original article. Check the source for full details.