Skip to content

Version 0.10.0

Compare
Choose a tag to compare
@passy passy released this 30 Nov 11:35
· 11726 commits to master since this release
v0.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.

Other changes