Today I tried Jetpack Compose. While it looks prom...
# compose
t
Today I tried Jetpack Compose. While it looks promising, has anyone noticed how long it is to update a composable
@Preview
? It takes almost a minute to render each change, and I'm using a decent laptop. Also, is it required to rebuild project to update preview ?
z
compose is still in alpha, so it's not too surprising to see some slowness. while I don't know the team's specific plans, I would expect them to make improvements during beta and before the 1.0 release
n
Hope to reach Flutter level hot reload
r
Compose will never reach flutter level hot reload, that was one of the main reasons why Dart was chosen for flutter instead of Kotlin.
g
Well, it was not chosen, it was developed this way to support interop mode on level of VM
b
an issue has been open here and marked as P1 priority. feel free to add more info if you want to ! https://issuetracker.google.com/issues/174779271
c
Oooh. More people should star that issue!
g
It looks as a some specific issue, it may be a some bug, but also just slow project to compile (because of many reasons). preview can be as fast as Kotlin compiler, so improving compilation time will improve preview refresh speed
­čĹŹ 2