REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.52 KB
Close
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/react-redux/src/components/Context.ts
Text
Base64
import * as React from 'react' import type { Context } from 'react' import type { Action, AnyAction, Store } from 'redux' import type { Subscription } from '../utils/Subscription' import type { CheckFrequency } from '../hooks/useSelector' export interface ReactReduxContextValue< SS = any, A extends Action = AnyAction > { store: Store<SS, A> subscription: Subscription getServerState?: () => SS stabilityCheck: CheckFrequency noopCheck: CheckFrequency } const ContextKey = Symbol.for(`react-redux-context`) const gT: { [ContextKey]?: Map< typeof React.createContext, Context<ReactReduxContextValue> > } = (typeof globalThis !== "undefined" ? globalThis : /* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */ {}) as any; function getContext(): Context<ReactReduxContextValue> { if (!React.createContext) return {} as any const contextMap = (gT[ContextKey] ??= new Map< typeof React.createContext, Context<ReactReduxContextValue> >()) let realContext = contextMap.get(React.createContext) if (!realContext) { realContext = React.createContext<ReactReduxContextValue>(null as any) if (process.env.NODE_ENV !== 'production') { realContext.displayName = 'ReactRedux' } contextMap.set(React.createContext, realContext) } return realContext } export const ReactReduxContext = /*#__PURE__*/ getContext() export type ReactReduxContextInstance = typeof ReactReduxContext export default ReactReduxContext
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
connect.tsx
30.47 KB
lrw-r--r--
2026-02-28 00:30:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Context.ts
1.52 KB
lrw-r--r--
2026-02-28 00:29:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Provider.tsx
2.68 KB
lrw-r--r--
2026-02-28 00:30:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).