PHP 8.2.30
Preview: mapDispatchToProps.js Size: 714 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/react-redux/es/connect/mapDispatchToProps.js

import bindActionCreators from '../utils/bindActionCreators';
import { wrapMapToPropsConstant, wrapMapToPropsFunc } from './wrapMapToProps';
import { createInvalidArgFactory } from './invalidArgFactory';
export function mapDispatchToPropsFactory(mapDispatchToProps) {
  return mapDispatchToProps && typeof mapDispatchToProps === 'object' ? wrapMapToPropsConstant(dispatch => // @ts-ignore
  bindActionCreators(mapDispatchToProps, dispatch)) : !mapDispatchToProps ? wrapMapToPropsConstant(dispatch => ({
    dispatch
  })) : typeof mapDispatchToProps === 'function' ? // @ts-ignore
  wrapMapToPropsFunc(mapDispatchToProps, 'mapDispatchToProps') : createInvalidArgFactory(mapDispatchToProps, 'mapDispatchToProps');
}

Directory Contents

Dirs: 0 × Files: 14

Name Size Perms Modified Actions
233 B lrw-r--r-- 2026-02-28 00:29:48
Edit Download
233 B lrw-r--r-- 2026-02-28 00:28:28
Edit Download
1.30 KB lrw-r--r-- 2026-02-28 00:29:54
Edit Download
714 B lrw-r--r-- 2026-02-28 00:28:34
Edit Download
1.35 KB lrw-r--r-- 2026-02-28 00:29:54
Edit Download
440 B lrw-r--r-- 2026-02-28 00:28:36
Edit Download
1.21 KB lrw-r--r-- 2026-02-28 00:29:56
Edit Download
1.23 KB lrw-r--r-- 2026-02-28 00:28:38
Edit Download
4.67 KB lrw-r--r-- 2026-02-28 00:29:58
Edit Download
3.24 KB lrw-r--r-- 2026-02-28 00:29:02
Edit Download
127 B lrw-r--r-- 2026-02-28 00:30:10
Edit Download
688 B lrw-r--r-- 2026-02-28 00:29:32
Edit Download
1.40 KB lrw-r--r-- 2026-02-28 00:30:12
Edit Download
2.98 KB lrw-r--r-- 2026-02-28 00:29:34
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).