Gathering detailed insights and metrics for react-mlux-binder
Gathering detailed insights and metrics for react-mlux-binder
Gathering detailed insights and metrics for react-mlux-binder
Gathering detailed insights and metrics for react-mlux-binder
npm install react-mlux-binder
Typescript
Module System
Node Version
NPM Version
68.1
Supply Chain
59.6
Quality
75
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
1,903
Last Day
1
Last Week
8
Last Month
17
Last Year
99
16 Commits
2 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
0.2.3
Package Id
react-mlux-binder@0.2.3
Size
3.07 kB
NPM Version
3.8.9
Node Version
6.2.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
8
Compared to previous week
Last month
112.5%
17
Compared to previous month
Last year
-18.2%
99
Compared to previous year
基于mlux,用于实现在react或者react-native框架下组件自动监听store变化并更新。
请移步Lottery项目;
在项目根目录下执行
npm install react-mlux-binder --save
在项目文件中引入
1import Binder from 'react-mlux-binder';
1//当testStore的值发生改变的时,Text组件中的内容将会自动更新。 2<Binder bind = {[testStore]} render = {()=><Text>{testStore.value}</Text>}}/>
createClass方法将一个普通的Component变成一个Binder Component。
1Binder.createClass(ReactComponent:Class<React.Component<*,*,*>>):Class<*>
1let BinderA = Binder.createClass(A); 2 3<BinderA bind = {[store]} propsUpdater = {()=>{ 4 name:store.name 5}} />
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-01-27
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