Is it possible to understand what triggered recomposition ?
I have 2 compositions in sequence and I'd like to understand why.
o
Oleksandr Karpovich [JB]
09/27/2021, 6:23 PM
Do you have code sample?
I don't know about any tool to see what triggers recomposition. Usual debugging is the only thing that comes to mind
s
salomonbrys
09/27/2021, 8:23 PM
Nope. My code is fairly complex, and I'm pretty sure it's my fault. I just need to find where.
salomonbrys
09/27/2021, 9:28 PM
@Oleksandr Karpovich [JB] It looks like the double compoise I get is due to using "CSS classes in components".
The following code generates a double composition: