-
-
Notifications
You must be signed in to change notification settings - Fork 43
Comparing changes
Open a pull request
base repository: ZeeCoder/use-resize-observer
base: v7.0.1
head repository: ZeeCoder/use-resize-observer
compare: v8.0.0
- 11 commits
- 18 files changed
- 2 contributors
Commits on Jul 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 10116cc - Browse repository at this point
Copy the full SHA 10116ccView commit details
Commits on Aug 28, 2021
-
fix: Removed
resize-observer-polyfill
in favour of `@juggle/resize-……observer`. The latter is better maintained, and does not include now-unnecessary ResizeObserver 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.
Configuration menu - View commit details
-
Copy full SHA for 8afc8f6 - Browse repository at this point
Copy the full SHA 8afc8f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ca6c23 - Browse repository at this point
Copy the full SHA 0ca6c23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69298b5 - Browse repository at this point
Copy the full SHA 69298b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa38199 - Browse repository at this point
Copy the full SHA aa38199View commit details -
fix: The
onResize
callback is no longer incorrectly called with the…… same values. The same memoisation applied to the hook response's width and height should'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 change to report after the rounding function was applied to the reported values.
Configuration menu - View commit details
-
Copy full SHA for bd0f3c8 - Browse repository at this point
Copy the full SHA bd0f3c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52709fe - Browse repository at this point
Copy the full SHA 52709feView commit details -
Configuration menu - View commit details
-
Copy full SHA for c465a3f - Browse repository at this point
Copy the full SHA c465a3fView commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for ede37a6 - Browse repository at this point
Copy the full SHA ede37a6View commit details -
feat: Triggering the v8 release
BREAKING CHANGE: Triggering the v8 release, which was published as 7.1.0 by accident.
Configuration menu - View commit details
-
Copy full SHA for 4373a1f - Browse repository at this point
Copy the full SHA 4373a1fView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 5b42412 - Browse repository at this point
Copy the full SHA 5b42412View commit details
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