public final class Diff<T> extends Object
T
values. It should be used when defining the ShouldUpdate
callback in a ComponentSpec and may be used in OnCreateTransition
to define
animations based on incoming changes. A Diff holds the previous and next value for a specific
Prop
or State
for a ComponentSpec.