My fellow Composers and, in particular, Web Composers, I’m writing a small message on behalf of Compose Multiplatform team. It’s about so called Web Widgets. As may of you might already noticed they are obsolete starting from the 1.0 Release. The reason for this is that we’ve decided to invest heavily in reusing widgets (or UI components - whatever you prefer to name it but you got the idea I believe) between Android, Desktop and Native platform.
This approach implies that we’ll have a canvas-rendered UI components in Web and this approach has many benefits. But at the same time it has some drawbacks compared to a mature DOM-based widget API which is based on same design concepts like “regular” Compose UI. However as of now we feel like we just don’t have enough time to invest in such API.
Apart from concentrating on canvas-rendered components (which is goal #1 for us), we’ve decided to focus on DOM layer since there are still a lot of things that need to be addressed in that aspect. Third goal will just scatter our attention.
That said we are planning to remove web widgets completely as soon as we’ll introduce canvas API.
It does not mean that we wont reconsider sometime in future when we’ll feel that we have enough expertise and time to try again. Meanwhile I want to point out that community already is delivering some very strong alternatives to what we’ve offered to you.
Consider, for instance, this project -
https://github.com/mpetuska/kmdc
Happy Christmas and/or festive season!