Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: ZeeCoder/use-resize-observer

v9.1.0

22 Nov 20:29

Choose a tag to compare

9.1.0 (2022-11-22)

Bug Fixes

Features

Assets3
Loading

v9.1.0-alpha.1

21 Nov 12:25

Choose a tag to compare

v9.1.0-alpha.1Pre-release
Pre-release

9.1.0-alpha.1 (2022-11-21)

Features

Loading

v9.0.2

13 Jun 21:03

Choose a tag to compare

9.0.2 (2022-06-13)

Bug Fixes

  • Made element resolution compatbile with concurrent mode (c9c6689)
  • Small changes and chores (0cb6800)
Loading

v9.0.0

15 May 22:18

Choose a tag to compare

9.0.0 (2022-05-15)

Bug Fixes

BREAKING CHANGES

  • The lib now takes "Element", not only "HTMLElement", to
    be consistent with ResizeObserver.
Loading
fabianishere reacted with hooray emoji
1 person reacted

v8.0.0

28 Aug 21:18

Choose a tag to compare

8.0.0 (2021-08-28)

Bug Fixes

  • TheonResize callback is no longer incorrectly called with the same values. (bd0f3c8)

Features

BREAKING CHANGES

  • Removedresize-observer-polyfill in favour of@juggle/resize-observer. (8afc8f6)
Loading

v7.1.0 (Accidental Release)

28 Aug 21:24

Choose a tag to compare

This was an accidental release, and an equivalent of V8.

The breaking change is the replacement ofresize-observer-polyfill by@juggle/resize-observer for the polyfillled module.

See thev8 release notes.

Loading

v7.0.1

27 Jul 21:31

Choose a tag to compare

7.0.1 (2021-07-27)

Bug Fixes

  • Removed unnecessary entries.length check (3211d33)
  • Undefined HTMLElement is no longer an issue in certain SSR edge cases. (599cace), closes#74#62
Loading

v7.0.0

11 Nov 20:57

Choose a tag to compare

7.0.0 (2020-11-11)

Bug Fixes

  • Only instantiating a ResizeObserver instance if there's actually something to
    observe. This for example means that if you pass innull or undefined as the
    ref, or if neither the default ref or RefCallback returned from the hook are
    in use, then no ResizeObserver instance will get created until there's an
    actual element to observe. Resolves:#42
  • Fixed an error where in certain edge cases the hook tried to set state when
    its host component already unmounted.

Features

  • Theref option now accepts raw elements as well.

BREAKING CHANGES

  • The returned ref is now a RefCallback, not a ref object. Resolves:#43,#45
  • The returned ref will always be the same RefCallback.
    Previously when a custom ref object was passed, it was returned as well from
    the hook as "ref".
  • Compared to 6.2.0-alpha.1 There's nocallbackRef return value anymore.

Misc

  • Using package.json file attr instead of gitignore (c58f34e)
  • Added Semantic Release (55f6368)
  • Handling custom refs (through options), the default ref and the RefCallback
    has been greatly refactored internally (into theuseResolvedElement
    hook), to handle more edge cases with the way refs are handled.
  • Tests based on react testing library were refactored to make them much simpler
    and more approachable.
  • Addedcontributing guidelines
  • Added tests in real browsers with BrowserStack, so that we ensure the lib
    works all the way back to IE11.
  • Switched to GitHub Actions from Travis, as builds started to freeze. (They've
    also announced alimit on OS projects.)
Loading

v7.0.0-alpha.4

11 Nov 20:41

Choose a tag to compare

v7.0.0-alpha.4Pre-release
Pre-release

7.0.0-alpha.4 (2020-11-11)

Bug Fixes

  • Using package.json file attr instead of gitignore (74ea0a9)
Loading

v7.0.0-alpha.3

11 Nov 19:38

Choose a tag to compare

v7.0.0-alpha.3Pre-release
Pre-release

7.0.0-alpha.3 (2020-11-11)

Bug Fixes

Loading
Previous13
Previous

[8]ページ先頭

©2009-2025 Movatter.jp