Litho (By Facebook) v0.41.3-SNAPSHOT Release Notes
-
๐ release-date
- Breaking:
com.facebook.litho.widget.EmptyComponentSpec
is removed. Construct acom.facebook.litho.EmptyComponent
directly. In places that require a Builder, useWrapper.create(<context>).delegate(EmptyComponent())
- Breaking:
PoolableContentProvider
renamed toContentAllocator
in RenderCore.RenderUnit
no longer implementsPoolableContentProvider
, instead it should returnContentAllocator
implementation fromgetContentAllocator
method. - Breaking:
StateHandler
has now been replaced byTreeState
inComponentTree
for all state handling. UseComponentTree.acquireTreeState()
andComponentTree.Builder.treeState(...)
to save/restore state across different component trees.
๐ For more details, see the full diff.
- Breaking: