JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.28k stars 1.11k forks source link

Support live edit please. #2063

Open wwalkingg opened 2 years ago

wwalkingg commented 2 years ago

Jetpack Compose has supported live edit already. what's the plan of compose-multiplatform?

hm-tamim commented 10 months ago

Any update on this? Pretty important

bartekpacia commented 9 months ago

Hi, I'm also very interested in this feature. Live Edit seems to be one of the great features of Compose on Android, and since Compose Multiplatform on Android is basically Compose, how can we take advantage of it?

It's quite surprising to me there's no mention of it anywhere.

juhaodong commented 8 months ago

no comment?

adrianegraphene commented 5 months ago

Add me to the list. Would be so great for workflows.....

levrik commented 5 months ago

After I had a very bad time trying React Native I wanted to go a bit more native so I tried Compose Multiplatform. Not having some kind of hot reload is shocking to me. Iteration times, especially when still learning, are awfully slow and I can't believe this is not supported.

etolstoy commented 1 week ago

We're working on building the best possible experience for working with Compose Multiplatform in Fleet. Starting with Fleet 1.31, we offer support for previews for composable functions in common and desktop source sets. These previews automatically update with code changes, significantly reducing the feedback loop. We are eager to hear your feedback, so please submit any feature requests or feedback in our Fleet tracker.

As for LiveEdit, it is not currently on our roadmap. If you have specific use cases where Previews are insufficient and LiveEdit would work better, please let us know.

bartekpacia commented 1 week ago

@etolstoy fyi, @Preview performance is really bad on JB Fleet rn. On my M1 Mac it's so slow that sometimes it's faster to rebuild and re-run my simple app on Android emulator. I hope there are plans to optimize performance of it.