resize-observer
use-resize-observer
resize-observer | use-resize-observer | |
---|---|---|
2 | 1 | |
941 | 618 | |
0.2% | - | |
1.8 | 3.3 | |
10 months ago | 9 months ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
resize-observer
-
How to use Resize Observer with React
Uses @juggle/resize-observer as a ponyfill when ResizeObserver isn't supported by the current browser,
-
Quick guide to Resize Observer
Despite the fact that ResizeObserver API is still in Editorโs Draft(still in progress), according to Can I use its global 94.13% support is pretty impressive. There is also a nice and powerful polyfill that allows you to use it in older browsers (even IE 9-10 ๐).
use-resize-observer
What are some alternatives?
storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.
use-prosemirror - ProseMirror + React made easy
Angular - Deliver web apps with confidence ๐
usehooks-ts - React hook library, ready to use, written in Typescript.
react-hook - โฉ Strongly typed, concurrent mode-safe React hooks
use-clean-effect - An extension of React useEffect without the need for clean-up functions
ionic - A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript. [Moved to: https://github.com/ionic-team/ionic-framework]
roover - ๐ฑ A lightweight audio library for React apps.
resize-observer
rooks - Essential React custom hooks โ to super charge your components!
html-rewriter - WASM-based implementation of Cloudflare's HTML Rewriter for use in Deno, browsers, etc.
plyr-react - A simple, accessible and customisable react media player for Video, Audio, YouTube and Vimeo