Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

beautiful-react-redux

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beautiful-react-redux

A magical tool to improve React-Redux performance

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

beautiful-react-redux

Automagically enhances, even enchants redux connect, to be more concrete - mapStateToProps, wrapping it with memoize-state to sky-rocket your application.

Just import beautiful-react-redux and forget about reselect and any other selector memoization. Now your application will runs like it has MobX underneath.

No updates when you dont expect them. For all. For free!

NPM

Usage

Auto-magic
// to get automatic deep-equal memoization for all mapStateToProps
import 'beautiful-react-redux/patch';
Or just replace react-redux by beautiful-react-redux
//import {connect, Provider} from 'react-redux';
import {connect, Provider} from 'beautiful-react-redux';

100% compatible with any other memoization you might already had underneath.

Double check your existing selectors

If you already handling selectors by your own, and dont need external tools - you can just double check that your mapStateToProps is good enough.

// to get automatic checks for your mapStateToProps
import 'beautiful-react-redux/check';

PS: Better not to mix memoize and check.

Consider double measure performance, or use only beautiful-react-redux/check and another memoization library.

Licence

MIT

Keywords

FAQs

Package last updated on 18 Aug 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc