
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
redux-log-slow-reducers
Advanced tools
Warn about slow reducers in your Redux app.
npm install --save redux-log-slow-reducers
// Import all your reducers as usual
import * as reducers from './reducers';
// And simply wrap it with the function exposed by this module
//
// Note: There is a optional second argument to logSlowReducers which allows you
// to define how slow a reducer must be to trigger a warning (in ms). The
// default value for this is currently 8ms, as this is half the time
// available in one frame to run at 60fps.
import logSlowReducers from 'redux-log-slow-reducers';
const loggingReducers = logSlowReducers(reducers);
// Everything else is plain redux stuff
import { createStore, combineReducers } from 'redux';
const store = createStore(combineReducers(loggingReducers));
Write tests for everything!
FAQs
Warn about slow reducers used in your redux app.
We found that redux-log-slow-reducers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.