use-sidecar
npmv1.1.3TypeScriptSidecar code splitting utils
Adopt with care
use-sidecar is usable, with caveats. Last published 634 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- CMaintenance: grade C, Fair — worth a look.
Last published 634 days ago.
- AWeight: grade A, Excellent.
Pulls in 2 transitive packages, about 52 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 use-sidecar 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 use-sidecar, 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 use-sidecar README.
const medium = createMedium(defaultValue);
const cancelCb = medium.useMedium(someData);
// like
useEffect(() => medium.useMedium(someData), []);
medium.assignMedium(someDataProcessor)
// createSidecarMedium is a helper for createMedium to create a "sidecar" symbol
const effectCar = createSidecarMedium();use-sidecar 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 |
|---|---|---|---|---|
| use-sidecarthis page | 0 | 1 | MIT | 1 year ago |
| react | 152.8M | 82 | MIT | 2 days ago |
| react-dom | 143.7M | 47 | MIT | 2 days ago |
| react-style-singleton | 59.1M | 2 | MIT | 1 day ago |
| reselect | 44M | 1 | MIT | 1 day ago |
| next | 40.6M | 0 | MIT | 2 days ago |
Dependencies
Declared by use-sidecar v1.1.3. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (2)
Dev (7)
Used by
Popular packages that depend on use-sidecar.
Relationship graph
Dependencies (left) and dependents (right) of use-sidecar.
Frequently installed together
TypeScript definitions for react
React is a JavaScript library for building user interfaces.
Removes body scroll without content _shake_
Just create a single stylesheet...
The same useRef, but with callback
Release history
1 release in the last two years, typically about 12 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.1.3latest | 1 year ago | 48 KB | MIT |
| 1.1.2 | 4 years ago | 48 KB | MIT |
| 1.1.1 | 4 years ago | 48 KB | MIT |
| 1.1.0 | 4 years ago | 48 KB | MIT |
| 1.0.5 | 5 years ago | 34 KB | MIT |
| 1.0.4 | 5 years ago | 34 KB | MIT |
| 1.0.3 | 6 years ago | 34 KB | MIT |
| 1.0.2 | 6 years ago | 34 KB | MIT |
| 1.0.1 | 7 years ago | 29 KB | MIT |
| 1.0.0 | 7 years ago | 29 KB | MIT |
| 0.2.0 | 7 years ago | 25 KB | MIT |
| 0.1.1 | 7 years ago | 24 KB | MIT |
| 0.1.0 | 7 years ago | 24 KB | MIT |
| 0.0.2 | 7 years ago | 18 KB | MIT |
| 0.0.1 | 7 years ago | 7.0 KB | MIT |
Overview
use-sidecar is an npm package that sidecar code splitting utils. It has 1 known dependents in the graph. The latest version is 1.1.3, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need sidecar code splitting utils and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Keywords
Frequently asked questions
Should I use use-sidecar?
use-sidecar is usable, with caveats. Last published 634 days ago.
How do I install use-sidecar?
Run `npm install use-sidecar` to add use-sidecar to your npm project.
How many dependencies does use-sidecar have?
use-sidecar declares 11 direct dependencies and pulls in 2 packages in total once its runtime tree is resolved totalling about 52 KB on disk.
What license is use-sidecar released under?
use-sidecar is distributed under the MIT license.
How popular is use-sidecar?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on use-sidecar.
Is use-sidecar still maintained?
The most recent release of use-sidecar (v1.1.3) was published 1 year ago.
Does use-sidecar run install scripts?
No. use-sidecar does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.