Hello! What is the best practice to deal with modi...
# compose
p
Hello! What is the best practice to deal with modifier chain creation for each recomposition? Remember? Or there are any compiler optimizations?
z
Start with just passing modifiers, don’t worry about remember. Then benchmark/profile, if modifier creation is a bottleneck, explore options like remembering them. However, there is a major modifier refactor that should make remembering them virtually unnecessary in the next year or so.
p
Thanks, Zach! Do you have any link to read more about this refactoring?
c
Zach, do any of your blogpost about Compose talks about benchmarking/profiling Composables?
z
None of mine do, but there’s other ones that cover those topics.
i just googled “profiling compose” and a whole bunch of relevant content came up
Thanks, Zach! Do you have any link to read more about this refactoring?
Finally have something to post:

https://www.youtube.com/watch?v=BjGX2RftXsU&feature=youtu.be