react-remove-scroll
npmv2.7.2TypeScriptDisables scroll outside of `children` node.
Adopt with care
react-remove-scroll is usable, with caveats.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 285 days ago. 6 releases in the last 2 years.
- BWeight: grade B, Good.
Pulls in 7 transitive packages, about 227 KB installed (at least — some of the tree is still being crawled).
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding react-remove-scroll to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing react-remove-scroll, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >=10
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the react-remove-scroll README.
import {RemoveScroll} from 'react-remove-scroll';
<RemoveScroll>
Only this content would be scrollable
</RemoveScroll> react-remove-scroll vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| react-remove-scrollthis page | 0 | 2 | MIT | 9 months ago |
| react-remove-scroll-bar | 59.1M | 1 | MIT | 1 day ago |
Dependencies
Declared by react-remove-scroll v2.7.2. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (5)
Dev (9)
Used by
Popular packages that depend on react-remove-scroll.
Relationship graph
Dependencies (left) and dependents (right) of react-remove-scroll.
Frequently installed together
React is a JavaScript library for building user interfaces.
React package for working with the DOM.
TypeScript definitions for react-dom
TypeScript definitions for react
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
Release history
6 releases in the last two years, typically about 57 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.7.2latest | 9 months ago | 77 KB | MIT |
| 2.7.1 | 1 year ago | 75 KB | MIT |
| 2.7.0 | 1 year ago | 75 KB | MIT |
| 2.6.3 | 1 year ago | 77 KB | MIT |
| 2.6.2 | 1 year ago | 77 KB | MIT |
| 2.6.1 | 1 year ago | 77 KB | MIT |
| 2.6.0 | 2 years ago | 77 KB | MIT |
| 2.5.10 | 2 years ago | 77 KB | MIT |
| 2.5.9 | 2 years ago | 77 KB | MIT |
| 2.5.7 | 2 years ago | 77 KB | MIT |
| 2.5.6 | 3 years ago | 75 KB | MIT |
| 2.5.5 | 4 years ago | 71 KB | MIT |
| 2.5.4 | 4 years ago | 70 KB | MIT |
| 2.5.3 | 4 years ago | 75 KB | MIT |
| 2.5.2 | 4 years ago | 75 KB | MIT |
Overview
react-remove-scroll is an npm package that disables scroll outside of `children` node. It has 2 known dependents in the graph. The latest version is 2.7.2, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need disables scroll outside of `children` node and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (16 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Keywords
Frequently asked questions
Should I use react-remove-scroll?
react-remove-scroll is usable, with caveats.
How do I install react-remove-scroll?
Run `npm install react-remove-scroll` to add react-remove-scroll to your npm project.
How many dependencies does react-remove-scroll have?
react-remove-scroll declares 16 direct dependencies and pulls in 7 packages in total once its runtime tree is resolved totalling about 227 KB on disk.
What license is react-remove-scroll released under?
react-remove-scroll is distributed under the MIT license.
How popular is react-remove-scroll?
npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on react-remove-scroll.
Is react-remove-scroll still maintained?
The most recent release of react-remove-scroll (v2.7.2) was published 9 months ago.
Does react-remove-scroll run install scripts?
No. react-remove-scroll does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.