A good amount of the work has already been done to optimize compose at the common / compiler level already. I realize performance hasn’t been considered yet from the web / js perspective, but I wonder how good the performance of compose web would be when compared against react when using plain HTML dom components.
➕ 1
t
than_
06/14/2021, 4:03 PM
Well, depends on what do you mean by performance 😄. For example thanks to
@Immutable
(on android, didn't try on web) you can help state checks (and recomposition) quite severely.
o
Oleksandr Karpovich [JB]
06/14/2021, 4:49 PM
the truth is that compose-web requires some extra steps to improve the performance.
as for now, react performs much better than compose-web (we compared them using this https://github.com/krausest/js-framework-benchmark set of benchmarks)
At the moment we prioritize API related tasks. But the performance tasks are on the horizon.
cc: @[JB] Shagen