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.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/use-local-slice@1.2.1/ - unpkg
https://unpkg.com/use-local-slice@1.2.1/ - esm.sh
https://esm.sh/use-local-slice@1.2.1
Indexability: Not indexed (discovery only): downloads_week 1621 < 10000.