flexbox-layout v2.0.0 Release Notes

Release Date: 2019-11-22 // over 4 years ago
  • 🐎 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 Flexitems in a FlexLine didn't have any flexGrow or flexShrink attributes set.
    0️⃣ 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.