
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-perfect
Advanced tools
Simple render-saving library for your React components.
react-redux *mapDispatchToProps is returning new method instances (even if they don't rely on ownProps) for each redux state
change. If your state change doesn't affect data you're returning with mapStateToProps - your connected component
will be re-rendered even when using PureComponentProper docs are in @TODO state, sorry :)
tl;dr:
class MyComponent extends PureComponent {
render() {
return (
<>
<div>{this.props.title}</div>
<button onClick={this.props.update}>update</button>
</>
);
}
}
// other props will still be passed, but their updates will be ignored
export default rerender.on(MyComponent, ["title"]);
MIT
FAQs
Simple render-saving library for your React components.
The npm package react-perfect receives a total of 5 weekly downloads. As such, react-perfect popularity was classified as not popular.
We found that react-perfect 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.