use-resize-observer

A React hook that allows you to use a ResizeObserver to measure an element's size.

use-resize-observer@10.0.0 was published on 2026-07-31. Its manifest declares 0 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.

All use-resize-observer versions · Permanent reference to 10.0.0

Package specifications

Version10.0.0
License declarationMIT
Published2026-07-31T11:13:05.486Z
Node.js requirementNot declared
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count1
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size41.87 KiB
Published file count8
Package typemodule
ES module entry./dist/index.mjs
Default entry./dist/index.cjs
Side effects declarationfalse
Direct advisories0
Resolved graph dependencies0
Repository stars682
Repository forks43

Install use-resize-observer 10.0.0

npm install use-resize-observer@10.0.0
pnpm add use-resize-observer@10.0.0
yarn add use-resize-observer@10.0.0

Runtime dependencies

  • None declared

Peer requirements

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

    How to interpret the specifications

    Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

    Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

    OpenSSF repository checks

    Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

    Dangerous-Workflow10/10 — no dangerous workflow patterns detected
    Binary-Artifacts10/10 — no binaries found in the repo
    Code-Review0/10 — Found 0/29 approved changesets -- score normalized to 0
    Maintained5/10 — 2 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 5
    Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
    Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
    CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
    Security-Policy0/10 — security policy file not detected
    Fuzzing0/10 — project is not fuzzed
    License10/10 — license file detected
    Signed-Releases0/10 — Project has not signed or included provenance with any releases.
    SAST0/10 — SAST tool is not run on all commits -- score normalized to 0
    Branch-Protection0/10 — branch protection not enabled on development/release branches

    Evidence and freshness