Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(use-resize-observer): resolve type conflict #100

Merged
merged 5 commits into from
Feb 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading