Litho (By Facebook) v0.40.0 Release Notes
-
2021-02-26
- ๐ฅ Breaking: Change the return type of
ComponentLifecycle.resolve()
fromComponentLayout
toInternalNode
. - ๐ New: Expose
visibleTop
andvisibleLeft
fields from theVisibilityChangedEvent
to better understand which side of the component is hidden. Check outVisibilityChangedEvent
's javadoc for more info. - ๐ New: Expose mounted content from the
VisibleEvent
. - ๐ New: Lifecycle arguments are now optional in the spec. (e.g.
ComponentContext
is now optional in@OnCreateInitialState
)
๐ For more details, see the full diff.
- ๐ฅ Breaking: Change the return type of