Matej Drobnič
06/22/2019, 5:09 PMCompose has no specific notion of View IDs.Without that information, how can compose distinguish between "old item removed, new item inserted" and "old item updated" events to display proper animations (e.g in recycler-view like setting)?
louiscad
06/22/2019, 5:10 PMMatej Drobnič
06/22/2019, 5:11 PMlouis993546
06/22/2019, 6:46 PMsngrekov
06/22/2019, 7:41 PMscottmeschke
06/23/2019, 4:31 AMLeland Richardson [G]
06/23/2019, 3:21 PM@Pivotal
(likely to be renamed to @Key
) which will cause it to be part of the key for that composable. This is an inversion in responsibilities from the react world where key
is always specified by the consumer of the component, instead of the declaration of the component. That said, we will provide a key
component or something (currently it is Key
) which will allow you to wrap a component with a key which puts the control back in the consumer, so both are handled.