Performance improvements by avoiding child views are measured more than twice #46
The version 2.0.0 improves the performance significantly especially FlexboxLayout
is deeply nested.
As described in #514, there were unnecessary measure calls even if any Flexitem
s in a FlexLine
didn't have any flexGrow
or flexShrink
attributes set.
Similarly, the default values for alignItems
and alignContent
for FlexboxLayout
has changed from stretch
to flex_start
starting from 2.0.0 because setting stretch
for alignItems
turned out to be expensive. Setting the default value as stretch
might increase the unnecessary measure calls.
This is a major version release because the change may break the existing apps.