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).
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
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
- v1 first release 1.0.0, 30 Jun 2020
Recent releases
| Version | Published |
|---|---|
| 1.2.1 | 16 May 2025 |
| 1.2.0 | 6 Dec 2024 |
| 1.1.2 | 30 Mar 2022 |
| 1.1.1 | 19 Dec 2020 |
| 1.1.0 | 26 Oct 2020 |
| 1.0.0 | 30 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- jsDelivr
https://cdn.jsdelivr.net/npm/use-isomorphic-layout-effect@1.2.1/ - unpkg
https://unpkg.com/use-isomorphic-layout-effect@1.2.1/ - esm.sh
https://esm.sh/use-isomorphic-layout-effect@1.2.1
Indexability: Indexed.