Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 354 Bytes
import { Provider, connect } from 'react-redux';
//React Redux @connect() is no longer usable as an annotation, @reduxify wraps and strips types to allow
export function reduxify(mapStateToProps, mapDispatchToProps?, mergeProps?, options?) {
return target => (connect(mapStateToProps, mapDispatchToProps, mergeProps, options)(target) as any);
You can’t perform that action at this time.