Litho (By Facebook) v0.40.0 Release Notes

  • 2021-02-26

    • ๐Ÿ’ฅ Breaking: Change the return type of ComponentLifecycle.resolve() from ComponentLayout to InternalNode.
    • ๐Ÿ†• New: Expose visibleTop and visibleLeft fields from the VisibilityChangedEvent to better understand which side of the component is hidden. Check out VisibilityChangedEvent'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.