Home Update JetBrains stabilizes Compose Multiplatform sources API

JetBrains stabilizes Compose Multiplatform sources API

68
shutterstock 637037008 underside of jet aircraft and jet turbines on runway


JetBrains has up to date its Compose Multiplatform declarative UI framework, stabilizing the multiplatform sources API, upgrading assist for iOS and Web targets, and introducing an experimental navigation library primarily based on Jetpack Compose Navigation.

Compose Multiplatform 1.6.10 was introduced May 23. Instructions on getting began might be discovered at jetbrains.com.

The multiplatform sources API, now secure, supplies extra flexibility and comfort to builders, JetBrains stated. Developers now can arrange sources in any modules and supply units they need; sources not must be saved in commonMain. And Compose Multiplatform now takes care of publishing the required recordsdata for every platform. New experimental features within the API permit fetching fonts and pictures as byte arrays, which ought to assist third-party libraries that want entry to Compose Multiplatform, the corporate stated.

Elsewhere in Compose Multiplatform 1.6.10, a brand new experimental navigation library primarily based on Jetpack Compose Navigation allows builders to make use of navigation hosts, graphs, and controllers to assist customers transfer between screens. While nonetheless experimental, the navigation library covers a lot of the framework’s core performance.

iOS assist has been upgraded to beta within the new model, whereas Web goal assist has moved from experimental to an alpha stage. Jetpack Compose performance carried out for different platforms now’s obtainable for Web targets. That stated, there’s nonetheless a protracted option to go along with the browser adaptation of most parts, JetBrains stated.

For iOS, work continues on efficiency enhancements and fixing points with Compose parts on iOS. Enhancements embody making popups, dialogs, and different widgets really feel extra natural. Interactions really feel extra pure due to scroll physics and native textual content fields, window insets, textual content choice, and a magnifying device.

Compose Multiplatform 1.16.1 additionally includes a new lifecycle library, which relies on Jetpack Lifecycle and supplies a standard LifecycleProprietor implementation. The library extends Jetpack Compose performance to different platforms and helps observe lifecycle states. And JetBrains stated that assist for Compose growth has been improved “across the board” within the Fleet 1.35 IDE.

Compose Multiplatform 1.16.10 follows Compose Multiplatform 1.6.0, launched in late-February and that includes a UI testing API.

Copyright © 2024 IDG Communications, Inc.



Source hyperlink

LEAVE A REPLY

Please enter your comment!
Please enter your name here