Skip to content

Commit

Permalink
fix(use-resize-observer): resolve type conflict (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonsu committed Feb 26, 2022
1 parent 714de6f commit 38b80bc
Show file tree
Hide file tree
Showing 7 changed files with 1,587 additions and 1,255 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -52,7 +52,7 @@ usage requiring little code is possible.
- [x] **Autosizing** The default [`<Masonry>`](#masonry) component will automatically resize itself and its
items if the content of the grid cells changes or resizes. For example, when an image lazily loads this
component will automatically do the work of recalculating the size of that grid cell using
[`resize-observer-polyfill`](https://www.npmjs.com/package/resize-observer-polyfill). That said, you
[`@juggle/resize-observer`](https://www.npmjs.com/package/@juggle/resize-observer). That said, you
should try to premeasure things (including images) as often as possible in order to achieve the best
user experience.

Expand Down
2 changes: 1 addition & 1 deletion docs/v2.md
Expand Up @@ -50,7 +50,7 @@ and further inspired by [react-window](https://github.com/bvaughn/react-window).
- **Autosizing** The grid will automatically resize itself and its items if the content of the
grid items changes or resizes. For example, when an image lazily loads this component will
automatically do the work of recalculating the size of that grid item using
[`resize-observer-polyfill`](https://www.npmjs.com/package/resize-observer-polyfill).
[`@juggle/resize-observer`](https://www.npmjs.com/package/@juggle/resize-observer).

## Quick Start

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -35,6 +35,7 @@
"@essentials/memoize-one": "^1.1.0",
"@essentials/one-key-map": "^1.2.0",
"@essentials/request-timeout": "^1.3.0",
"@juggle/resize-observer": "^3.3.1",
"@react-hook/event": "^1.2.3",
"@react-hook/latest": "^1.0.3",
"@react-hook/passive-layout-effect": "^1.2.1",
Expand All @@ -43,7 +44,6 @@
"@react-hook/window-size": "^3.0.7",
"@types/raf-schd": "^4.0.1",
"raf-schd": "^4.0.3",
"resize-observer-polyfill": "^1.5.1",
"trie-memoize": "^1.2.0"
},
"peerDependencies": {
Expand Down

0 comments on commit 38b80bc

Please sign in to comment.