Version 0.10.0
What? Another release already? Yes, and there have been some interesting changes.
Breaking changes
Layout
was renamed to Wrapper
: 38837d7
The new API is more Component-y and takes your delegate as a prop rather as part of the constructor call. Instead of writing Layout.create(c, component)
, you now write Wrapper.create(c).delegate(component)
. @IanChilds wrote a handy codemod script to help you with the transition. You can use it like this: git grep "import com.facebook.litho.Layout;" -l | xargs -L1 python WrapperForLayout.py
.