Gathering detailed insights and metrics for preact-redux
Gathering detailed insights and metrics for preact-redux
npm install preact-redux
Typescript
Module System
Node Version
NPM Version
81.9
Supply Chain
85.4
Quality
77.7
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
1,258,895
Last Day
858
Last Week
4,566
Last Month
18,079
Last Year
237,811
MIT License
287 Stars
78 Commits
26 Forks
9 Watchers
3 Branches
10 Contributors
Updated on Feb 11, 2025
Minified
Minified + Gzipped
Latest Version
2.1.0
Package Id
preact-redux@2.1.0
Size
61.80 kB
NPM Version
6.9.0
Node Version
10.15.0
Published on
May 16, 2019
Cumulative downloads
Total Downloads
Last Day
13.6%
858
Compared to previous day
Last Week
13.4%
4,566
Compared to previous week
Last Month
0.8%
18,079
Compared to previous month
Last Year
4%
237,811
Compared to previous year
3
48
Wraps react-redux up for Preact (8.x and prior), without using preact-compat. Think of this as a version of react-redux
that is pre-aliased to use preact in place of React.
See preact-redux-example: a full working example of redux
+ preact
using preact-redux
!
???? Compatibility Note:
If you're using Preact X (preact@10+), please use the official react-redux library.
This is a contrived example. Please refer to Redux's Usage with React documentation for details on how to work with Redux from Preact.
1import { Provider, connect } from 'preact-redux'; 2import { h, render } from 'preact'; 3 4const Main = () => ( 5 <Provider store={store}> 6 <Child /> 7 </Provider> 8); 9 10const Child = connect( 11 state => state 12)( ({ text, setText }) => ( 13 <input value={text} onInput={e => setText(e.target.value)} /> 14) ); 15 16render(<Main />, document.body);
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 5/6 approved changesets -- score normalized to 8
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
91 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-03-10
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