PHP 8.2.30
Preview: alternate-renderers.ts Size: 917 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/react-redux/src/alternate-renderers.ts

// The "alternate renderers" entry point is primarily here to fall back on a no-op
// version of `unstable_batchedUpdates`, for use with renderers other than ReactDOM/RN.
// Examples include React-Three-Fiber, Ink, etc.
// Because of that, we'll also assume 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 { initializeUseSelector } from './hooks/useSelector'
import { initializeConnect } from './components/connect'

initializeUseSelector(useSyncExternalStoreWithSelector)
initializeConnect(useSyncExternalStore)

import { getBatch } from './utils/batch'

// For other renderers besides ReactDOM and React Native,
// use the default noop batch function
const batch = getBatch()

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).