Skip to content
JS
Package

use-local-slice

A react hook to use reducers for local state in a typesafe way, with an API like createSlice from redux-starter-kit and immer integration.

v1.2.1, 6 Oct 2021MITCommonJSTypes: BundledReactState management
$ npm install use-local-slice

Key numbers

As of 25 Sept 2026
Weekly downloads
1.6k
+6% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
4 years ago
v1.2.1
GitHub stars
45
6 forks
Open issues / PRs
0 / 4
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3kSept 2025Mar 2026Sept 2026High 2.7k (8 Sept 2026)Low 262 (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,621 downloads last week, 7,032 in the last month. The 12-month change of +6% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.2.1, 6 Oct 20214 years ago
First published
-
Last push to GitHub
15 Jan 20231,348 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
4
Commits, last 52 weeks
0
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
8.4 kB
Dependencies (1)
immer
Peer dependencies (1)
react
npm install use-local-slice
  • jsDelivrhttps://cdn.jsdelivr.net/npm/use-local-slice@1.2.1/
  • unpkghttps://unpkg.com/use-local-slice@1.2.1/
  • esm.shhttps://esm.sh/use-local-slice@1.2.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 1621 < 10000.