File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
10
10
### Removed
11
11
12
12
- ` react-container-query `
13
- - Removed the "render" prop in favour of using children. (The former was not
14
- even documented.)
15
- - Removed the ` ResizeObserver ` component in favour of the
13
+ - [ BREAKING ] Removed the "render" prop in favour of using children. (The
14
+ former was not even documented.)
15
+ - [ BREAKING ] Removed the ` ResizeObserver ` component in favour of the
16
16
[ react-resize-observer] ( https://github.com/ZeeCoder/react-resize-observer ) and
17
17
[ use-resize-observer] ( https://github.com/ZeeCoder/use-resize-observer ) packages.
18
- - Removed the default export. (Both ContainerQuery and withContainerQuery is
19
- still available as named exports.)
20
- - Removed the ` stats ` prop from ContainerQuery. (Use ` meta ` instead.)
18
+ - [ BREAKING] Removed the default export. (Both ContainerQuery and withContainerQuery
19
+ is still available as named exports.)
20
+ - [ BREAKING] Removed the ` stats ` prop from ContainerQuery. (Use ` meta ` instead.)
21
+
22
+ ### Changed
23
+
24
+ - ` react-container-query `
21
25
- ` ContainerQuery ` no longer returns with a "null" size object when a function
22
26
is passed in as the children prop. Instead it returns with ` {width: 0, height: 0} `
23
27
initially, then updates with the observed container element.
You can’t perform that action at this time.
0 commit comments