Gathering detailed insights and metrics for use-immer-produce
Gathering detailed insights and metrics for use-immer-produce
Gathering detailed insights and metrics for use-immer-produce
Gathering detailed insights and metrics for use-immer-produce
React Hook nearly identical to use-immer, but it returns the draft from the update function.
npm install use-immer-produce
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
34 Commits
1 Forks
2 Watchers
28 Branches
1 Contributors
Updated on Dec 20, 2021
Latest Version
1.2.2
Package Id
use-immer-produce@1.2.2
Unpacked Size
161.72 kB
Size
33.43 kB
File Count
16
NPM Version
10.2.3
Node Version
20.10.0
Published on
Jan 07, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
40
React Hook nearly identical to use-immer, but it returns the draft from the update function.
npm i use-immer-produce immer
1const [testObj, updateTestObj] = useImmerProduce({ 2 value: 14 3});
In order to immediately extract the draft, before re-render:
1const draft = updateTestObj((draft) => { 2 draft.value = 75; 3});
All contributions are welcome, please open an issue or pull request.
To use this repository:
npm i -g pnpm
(if don't have pnpm installed)pnpm i
npx projen
(this will ensure everything is setup correctly, and you can run this command at any time)npx projen build
at any time to build the project.No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 7/10 approved changesets -- score normalized to 7
Reason
6 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More