Skip to content

Commit 2bb6a26

Browse files
committed
release 0.18.2
1 parent b108a7c commit 2bb6a26

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
0.18.2 (Feb 26, 2020)
4+
----
5+
6+
### Bugfixes
7+
- `shouldComponentUpdate`:
8+
- A too-aggressive implementation of `shouldComponentUpdate` was shipped in 0.18.0-0.18.1 ([#1123](https://github.com/STRML/react-grid-layout/pull/1123)), which did not compare the `children` object. While this works well in many simple implementations of RGL, it breaks in more complex applications.
9+
- 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.
10+
- A section has been added to the [README](/README.md#Performance) explaining how this works.
11+
- Fixed [#1150](https://github.com/STRML/react-grid-layout/issues/1150), [#1151](https://github.com/STRML/react-grid-layout/issues/1151).
12+
313
0.18.1 (Feb 25, 2020)
414
----
515

dist/react-grid-layout.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-grid-layout.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-grid-layout",
3-
"version": "0.18.1",
3+
"version": "0.18.2",
44
"description": "A draggable and resizable grid layout with responsive breakpoints, for React.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)