Skip to content

Commit

Permalink
Simplify useResizeObserver
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Aug 27, 2024
1 parent b0e7fe2 commit 91eac50
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 289 deletions.
2 changes: 1 addition & 1 deletion packages/compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ _Returns_

### useResizeObserver

Hook which allows to listen the resize event of any target element when it changes sizes. \_Note: `useResizeObserver` will report `null` until after first render.
Hook which allows to listen to the resize event of any target element when it changes size. \_Note: `useResizeObserver` will report `null` sizes until after first render.

_Usage_

Expand Down
Loading

0 comments on commit 91eac50

Please sign in to comment.