v0.47.0
Version 0.47.0
2023-02-13
- [New] Adds debug overlay for to show components bounds, and interactive elements. Set the following configs to enable the feature:
debugHighlightInteractiveBounds
,debugHighlightMountBounds
. - [Deprecated]
ComponentTree.canInterruptAndMoveLayoutsBetweenThreads
,RecyclerBinder.canInterruptAndMoveLayoutsBetweenThreads
,ComponentTreeHolder.canInterruptAndMoveLayoutsBetweenThreads
. All of those will be removed in one of subsequent versions. - [BREAKING] Introduces several new API to replace the ComponentTree in ComponentContext.
- Use
ComponentContext#getLithoTree
to get access to API previous accessed from theComponentTree
. ComponentTree
removed from theOnError
API; UseComponentContext#getErrorComponentReceiver
to set the root on error.
- Use
- [BREAKING]
equivalence
utility method have moved fromCommonUtils
toEquivalenceUtils
. - The logic to trigger mount has be simplified; there are now fewer hops between LithoView and ComponentTree.