Skip to content
JS
Package

use-isomorphic-layout-effect

A React helper hook for scheduling a layout effect with a fallback to a regular effect for environments where layout effects should not be used (such as server-side rendering).

v1.2.1, 16 May 2025MITESM + CommonJSTypes: BundledStatic site generators and meta-frameworks
$ npm install use-isomorphic-layout-effect

Key numbers

As of 25 Sept 2026
Weekly downloads
11.5m
+50% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v1.2.1
GitHub stars
32
9 forks
Open issues / PRs
1 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 16.7m (25 Aug 2026)Low 4.3m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

11,505,003 downloads last week, 51,685,892 in the last month. The 12-month change of +50% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
1.2.1, 16 May 20251 year ago
First published
30 Jun 2020
Last push to GitHub
30 May 2025482 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
63

Major versions

  1. v1 first release 1.0.0, 30 Jun 2020

Recent releases

VersionPublished
1.2.116 May 2025
1.2.06 Dec 2024
1.1.230 Mar 2022
1.1.119 Dec 2020
1.1.026 Oct 2020
1.0.030 Jun 2020
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
6.7 kB
Dependencies (0)
None
Peer dependencies (1)
react
npm install use-isomorphic-layout-effect
  • jsDelivrhttps://cdn.jsdelivr.net/npm/use-isomorphic-layout-effect@1.2.1/
  • unpkghttps://unpkg.com/use-isomorphic-layout-effect@1.2.1/
  • esm.shhttps://esm.sh/use-isomorphic-layout-effect@1.2.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.