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.
1010### Removed
1111
1212- ` 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
1616 [ react-resize-observer] ( https://github.com/ZeeCoder/react-resize-observer ) and
1717 [ 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 `
2125 - ` ContainerQuery ` no longer returns with a "null" size object when a function
2226 is passed in as the children prop. Instead it returns with ` {width: 0, height: 0} `
2327 initially, then updates with the observed container element.
You can’t perform that action at this time.
0 commit comments