Installations
npm install gatsby-plugin-why-did-you-render-redux
Developer Guide
Typescript
Yes
Module System
CommonJS
Score
53.3
Supply Chain
80.7
Quality
75.1
Maintenance
100
Vulnerability
99.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (100%)
Developer
steveadams
Download Statistics
Total Downloads
45,291
Last Day
86
Last Week
385
Last Month
1,607
Last Year
27,566
GitHub Statistics
1 Stars
14 Commits
2 Watching
6 Branches
1 Contributors
Bundle Size
48.68 kB
Minified
14.92 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.2.1
Package Id
gatsby-plugin-why-did-you-render-redux@0.2.1
Unpacked Size
14.47 kB
Size
5.15 kB
File Count
19
Total Downloads
Cumulative downloads
Total Downloads
45,291
Last day
50.9%
86
Compared to previous day
Last week
3.2%
385
Compared to previous week
Last month
-2.1%
1,607
Compared to previous month
Last year
385.2%
27,566
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
7
Optional Dependencies
1
gatsby-plugin-why-did-you-render-redux
Include the @welldone-software/why-did-you-render library when running gatsby develop
. It includes support for tracing useSelector
in your redux store.
Installation
Using npm:
npm i gatsby-plugin-why-did-you-render-redux
Using yarn:
yarn add gatsby-plugin-why-did-you-render-redux
How To Use
This plugin allows for most options available in @welldone-software/why-did-you-render. include
, exclude
, and notifier
aren't able to pass from gatsby-config.js
to the plugin because Gatsby stringifies all plugin options. As a result, you can pass in include
and exclude
arrays as strings which will be used to construct simple new RegExp(string)
instances. notifier
is completely unsupported.
An additional option is added called trackUseSelector
, which specifically targets tracing redux selectors as it requires a special step to configure. This means you don't need to add useSelector
to trackExtraHooks
.
You can set it up in your Gatsby project by adding it to gatsby-config.js
like this:
1{ 2 // ... 3 plugins: [ 4 { 5 resolve: 'gatsby-plugin-why-did-you-render-redux', 6 options: { 7 trackAllPureComponents: true, 8 trackUseSelector: true, 9 }, 10 }, 11 // ... 12 ], 13 // ... 14}
1{ 2 // ... 3 plugins: [ 4 { 5 resolve: 'gatsby-plugin-why-did-you-render-redux', 6 options: { 7 include: ['MyComponent', 'MyOtherComponent'] 8 }, 9 }, 10 // ... 11 ], 12 // ... 13}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
8 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/10 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 4 are checked with a SAST tool
Score
2
/10
Last Scanned on 2024-12-16
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