PHP 8.2.30
Preview: index.ts Size: 927 B
/home/byroehnu/.trash/node_modules11/react-redux/src/index.ts

// The primary entry point assumes we're working with standard ReactDOM/RN, but
// older versions that do not include `useSyncExternalStore` (React 16.9 - 17.x).
// Because of that, the useSyncExternalStore compat shim is needed.

import { useSyncExternalStore } from 'use-sync-external-store/shim'
import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/shim/with-selector'

import { unstable_batchedUpdates as batch } from './utils/reactBatchedUpdates'
import { setBatch } from './utils/batch'

import { initializeUseSelector } from './hooks/useSelector'
import { initializeConnect } from './components/connect'

initializeUseSelector(useSyncExternalStoreWithSelector)
initializeConnect(useSyncExternalStore)

// Enable batched updates in our subscriptions for use
// with standard React renderers (ReactDOM, React Native)
setBatch(batch)

export { batch }

export * from './exports'

Directory Contents

Dirs: 4 × Files: 5

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-28 00:30:14
Edit Download
connect DIR
- drwxr-xr-x 2026-02-28 00:30:12
Edit Download
hooks DIR
- drwxr-xr-x 2026-02-28 00:30:08
Edit Download
utils DIR
- drwxr-xr-x 2026-02-28 00:30:12
Edit Download
917 B lrw-r--r-- 2026-02-28 00:29:40
Edit Download
1.57 KB lrw-r--r-- 2026-02-28 00:29:48
Edit Download
927 B lrw-r--r-- 2026-02-28 00:29:48
Edit Download
968 B lrw-r--r-- 2026-02-28 00:29:58
Edit Download
5.77 KB lrw-r--r-- 2026-02-28 00:30:02
Edit Download

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