react-grid-layout v0.18.2 Release Notes

Release Date: 2020-02-26 // almost 2 years ago
  • 🛠 Bugfixes

    • shouldComponentUpdate:
      • A too-aggressive implementation of shouldComponentUpdate was shipped in 0.18.0-0.18.1 (#1123), which did not compare the children object. While this works well in many simple implementations of RGL, it breaks in more complex applications.
      • Reference equality of props.children and nextProps.children is now added to <ReactGridLayout> and <GridItem>. If you wish to take advantage of the performance improvements from the shouldComponentUpdate work, memoize your children.
      • A section has been added to the README explaining how this works.
      • Fixed #1150, #1151.