react-grid-layout v0.18.2 Release Notes
Release Date: 2020-02-26 // about 4 years ago-
🛠 Bugfixes
shouldComponentUpdate
:- A too-aggressive implementation of
shouldComponentUpdate
was shipped in 0.18.0-0.18.1 (#1123), which did not compare thechildren
object. While this works well in many simple implementations of RGL, it breaks in more complex applications. - Reference equality of
props.children
andnextProps.children
is now added to<ReactGridLayout>
and<GridItem>
. If you wish to take advantage of the performance improvements from theshouldComponentUpdate
work, memoize your children. - A section has been added to the README explaining how this works.
- Fixed #1150, #1151.
- A too-aggressive implementation of