I’m curious - I know the compose team has talked about releasing some parts of compose as multiplatform libraries separate from android, in the future after we have something stable for compose. I remember the tree analyzer was specifically mentioned around this.
Was anything else discussed?
Can anyone speak to how close that would get us to a compose api across multiple platforms?
02/19/2020, 12:38 AM
Why go for multi platform?
02/19/2020, 2:39 AM
because forcing the creation of native views is significant overhead. Even if you do want to create platform specific views, being able to express those views between platforms in the same way is a HUGE benefit.
I’ve been working with a mpp code base for almost 2 years now. It’s significant overhead when you have to start splitting things into n different files, and managing it all. Being able to express it all from a single file, a common file, is a HUGE advantage.