2.1.0 • Published 6 years ago

beautiful-react-redux v2.1.0

Weekly downloads
646
License
MIT
Repository
github
Last release
6 years ago

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

2.1.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.4

6 years ago