PHP 8.2.30
Preview: index.js Size: 1.50 KB
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/react-redux/lib/index.js

"use strict";

exports.__esModule = true;
var _exportNames = {
  batch: true
};
Object.defineProperty(exports, "batch", {
  enumerable: true,
  get: function () {
    return _reactBatchedUpdates.unstable_batchedUpdates;
  }
});

var _shim = require("use-sync-external-store/shim");

var _withSelector = require("use-sync-external-store/shim/with-selector");

var _reactBatchedUpdates = require("./utils/reactBatchedUpdates");

var _batch = require("./utils/batch");

var _useSelector = require("./hooks/useSelector");

var _connect = require("./components/connect");

var _exports = require("./exports");

Object.keys(_exports).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _exports[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function () {
      return _exports[key];
    }
  });
});
// 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.
(0, _useSelector.initializeUseSelector)(_withSelector.useSyncExternalStoreWithSelector);
(0, _connect.initializeConnect)(_shim.useSyncExternalStore); // Enable batched updates in our subscriptions for use
// with standard React renderers (ReactDOM, React Native)

(0, _batch.setBatch)(_reactBatchedUpdates.unstable_batchedUpdates);

Directory Contents

Dirs: 4 × Files: 5

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-28 00:28:46
Edit Download
connect DIR
- drwxr-xr-x 2026-02-28 00:29:36
Edit Download
hooks DIR
- drwxr-xr-x 2026-02-28 00:29:22
Edit Download
utils DIR
- drwxr-xr-x 2026-02-28 00:29:34
Edit Download
1.36 KB lrw-r--r-- 2026-02-28 00:27:02
Edit Download
2.49 KB lrw-r--r-- 2026-02-28 00:28:20
Edit Download
1.50 KB lrw-r--r-- 2026-02-28 00:28:26
Edit Download
2.66 KB lrw-r--r-- 2026-02-28 00:28:44
Edit Download
13 B lrw-r--r-- 2026-02-28 00:29:08
Edit Download

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