Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork43
Comparing changes
Open a pull request
base repository:ZeeCoder/use-resize-observer
Uh oh!
There was an error while loading.Please reload this page.
base:v7.0.1
head repository:ZeeCoder/use-resize-observer
Uh oh!
There was an error while loading.Please reload this page.
compare:v8.0.0
- 11commits
- 18files changed
- 2contributors
Commits on Aug 28, 2021
fix: Removed
resize-observer-polyfillin favour of `@juggle/resize-……observer`.The latter is better maintained, and does not include now-unnecessaryResizeObserver type definitions that also conflicts with newer Typescript versions.I consider this a breaking change because there may be unexpected differences between the polyfills.Also updated all dependencies.Removed the ResizeObserver type definition, as TS now includes it.
ZeeCoder committedAug 28, 2021 chore: Updated the tests and added more devices to test on.
ZeeCoder committedAug 28, 2021 fix: The
onResizecallback is no longer incorrectly called with the…… same values.The same memoisation applied to the hook response's width and heightshould've applied to the onResize callback as well, but it didn't.This is now fixed, which means that even if the RO reports a change,the onResize callback will only be called if there's an actual changeto report after the rounding function was applied to the reported values.
ZeeCoder committedAug 28, 2021 chore: Added an example of achieving breakpoints.
ZeeCoder committedAug 28, 2021 chore(release): 7.1.0 [skip ci]
# [7.1.0](v7.0.1...v7.1.0) (2021-08-28)### Bug Fixes* The `onResize` callback is no longer incorrectly called with the same values. ([29938a1](29938a1))### Features* Added the `box` option ([f873597](f873597)), closes [#31](#31) [#57](#57)* Added the `round` option. ([1224bc8](1224bc8)), closes [#55](#55) [#46](#46) [#61](#61)
feat: Triggering the v8 release
BREAKING CHANGE: Triggering the v8 release, which was published as 7.1.0 by accident.
ZeeCoder committedAug 28, 2021 chore(release): 8.0.0 [skip ci]
# [8.0.0](v7.0.1...v8.0.0) (2021-08-28)### Bug Fixes* Removed `resize-observer-polyfill` in favour of `@juggle/resize-observer`. ([8afc8f6](8afc8f6))* The `onResize` callback is no longer incorrectly called with the same values. ([bd0f3c8](bd0f3c8))### Features* Added the `box` option ([0ca6c23](0ca6c23)), closes [#31](#31) [#57](#57)* Added the `round` option. ([aa38199](aa38199)), closes [#55](#55) [#46](#46) [#61](#61)* Triggering the v8 release ([4373a1f](4373a1f))### BREAKING CHANGES* Triggering the v8 release, which was published as 7.1.0 by accident.
semantic-release-bot committedAug 28, 2021
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff v7.0.1...v8.0.0
Uh oh!
There was an error while loading.Please reload this page.