bippy 0.6.1-dev.3a24abf → 0.6.1-dev.d7876ea
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/dist/core.cjs +1 -1
- package/dist/core.d.cts +22 -24
- package/dist/core.d.ts +22 -24
- package/dist/core.js +1 -1
- package/dist/core2.cjs +1 -1
- package/dist/core2.d.cts +3 -3
- package/dist/core2.d.ts +3 -3
- package/dist/core2.js +1 -1
- package/dist/{types.d.cts → errors.d.cts} +174 -29
- package/dist/{types.d.ts → errors.d.ts} +174 -29
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.iife.js +1 -1
- package/dist/index.js +1 -1
- package/dist/install-hook-only.iife.js +1 -1
- package/dist/rdt-hook.cjs +1 -1
- package/dist/rdt-hook.js +1 -1
- package/dist/source.cjs +13 -13
- package/dist/source.d.cts +18 -9
- package/dist/source.d.ts +18 -9
- package/dist/source.js +13 -13
- package/package.json +9 -5
- package/src/core.ts +195 -156
- package/src/errors.ts +99 -0
- package/src/generated/react-work-tags.d.ts +261 -0
- package/src/generated/react-work-tags.js +240 -0
- package/src/rdt-hook.ts +144 -96
- package/src/react-internals.ts +43 -45
- package/src/semver.ts +78 -0
- package/src/source/error-stack.ts +11 -0
- package/src/source/index.ts +9 -1
- package/src/source/inspect-hooks.ts +199 -164
- package/src/source/owner-stack.ts +21 -38
- package/src/source/parse-debug-stack.ts +4 -4
- package/src/source/symbolication.ts +358 -103
- package/src/types.ts +12 -2
- package/src/generated/react-work-tags.ts +0 -169
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import ReactReconciler from "react-reconciler";
|
|
3
3
|
//#region src/generated/react-work-tags.d.ts
|
|
4
|
+
declare const ReactSymbols: {
|
|
5
|
+
readonly CONCURRENT_MODE_NUMBER: 60111;
|
|
6
|
+
readonly CONCURRENT_MODE_SYMBOL_DESCRIPTION: "react.concurrent_mode";
|
|
7
|
+
readonly CONCURRENT_MODE_SYMBOL_STRING: "Symbol(react.concurrent_mode)";
|
|
8
|
+
readonly DEPRECATED_ASYNC_MODE_SYMBOL_DESCRIPTION: "react.async_mode";
|
|
9
|
+
readonly DEPRECATED_ASYNC_MODE_SYMBOL_STRING: "Symbol(react.async_mode)";
|
|
10
|
+
readonly ELEMENT_SYMBOL_STRING: "Symbol(react.transitional.element)";
|
|
11
|
+
readonly LEGACY_ELEMENT_SYMBOL_STRING: "Symbol(react.element)";
|
|
12
|
+
};
|
|
4
13
|
interface ReactWorkTagMap {
|
|
5
14
|
ActivityComponent: number;
|
|
6
15
|
CacheComponent: number;
|
|
@@ -37,8 +46,116 @@ interface ReactWorkTagMap {
|
|
|
37
46
|
ViewTransitionComponent: number;
|
|
38
47
|
YieldComponent: number;
|
|
39
48
|
}
|
|
40
|
-
declare const
|
|
41
|
-
readonly "
|
|
49
|
+
declare const reactWorkTagsByVersion: {
|
|
50
|
+
readonly "16.0.0": {
|
|
51
|
+
readonly ActivityComponent: -1;
|
|
52
|
+
readonly CacheComponent: -1;
|
|
53
|
+
readonly ClassComponent: 2;
|
|
54
|
+
readonly ContextConsumer: 12;
|
|
55
|
+
readonly ContextProvider: 13;
|
|
56
|
+
readonly CoroutineComponent: 7;
|
|
57
|
+
readonly CoroutineHandlerPhase: 8;
|
|
58
|
+
readonly DehydratedSuspenseComponent: -1;
|
|
59
|
+
readonly ForwardRef: 14;
|
|
60
|
+
readonly Fragment: 10;
|
|
61
|
+
readonly FunctionComponent: 1;
|
|
62
|
+
readonly HostComponent: 5;
|
|
63
|
+
readonly HostHoistable: -1;
|
|
64
|
+
readonly HostPortal: 4;
|
|
65
|
+
readonly HostRoot: 3;
|
|
66
|
+
readonly HostSingleton: -1;
|
|
67
|
+
readonly HostText: 6;
|
|
68
|
+
readonly IncompleteClassComponent: -1;
|
|
69
|
+
readonly IncompleteFunctionComponent: -1;
|
|
70
|
+
readonly IndeterminateComponent: 0;
|
|
71
|
+
readonly LazyComponent: -1;
|
|
72
|
+
readonly LegacyHiddenComponent: -1;
|
|
73
|
+
readonly MemoComponent: -1;
|
|
74
|
+
readonly Mode: 11;
|
|
75
|
+
readonly OffscreenComponent: -1;
|
|
76
|
+
readonly Profiler: 15;
|
|
77
|
+
readonly ScopeComponent: -1;
|
|
78
|
+
readonly SimpleMemoComponent: -1;
|
|
79
|
+
readonly SuspenseComponent: 16;
|
|
80
|
+
readonly SuspenseListComponent: -1;
|
|
81
|
+
readonly Throw: -1;
|
|
82
|
+
readonly TracingMarkerComponent: -1;
|
|
83
|
+
readonly ViewTransitionComponent: -1;
|
|
84
|
+
readonly YieldComponent: 9;
|
|
85
|
+
};
|
|
86
|
+
readonly "16.4.3-alpha": {
|
|
87
|
+
readonly ActivityComponent: -1;
|
|
88
|
+
readonly CacheComponent: -1;
|
|
89
|
+
readonly ClassComponent: 2;
|
|
90
|
+
readonly ContextConsumer: 11;
|
|
91
|
+
readonly ContextProvider: 12;
|
|
92
|
+
readonly CoroutineComponent: -1;
|
|
93
|
+
readonly CoroutineHandlerPhase: -1;
|
|
94
|
+
readonly DehydratedSuspenseComponent: -1;
|
|
95
|
+
readonly ForwardRef: 13;
|
|
96
|
+
readonly Fragment: 9;
|
|
97
|
+
readonly FunctionComponent: 0;
|
|
98
|
+
readonly HostComponent: 7;
|
|
99
|
+
readonly HostHoistable: -1;
|
|
100
|
+
readonly HostPortal: 6;
|
|
101
|
+
readonly HostRoot: 5;
|
|
102
|
+
readonly HostSingleton: -1;
|
|
103
|
+
readonly HostText: 8;
|
|
104
|
+
readonly IncompleteClassComponent: -1;
|
|
105
|
+
readonly IncompleteFunctionComponent: -1;
|
|
106
|
+
readonly IndeterminateComponent: 4;
|
|
107
|
+
readonly LazyComponent: -1;
|
|
108
|
+
readonly LegacyHiddenComponent: -1;
|
|
109
|
+
readonly MemoComponent: -1;
|
|
110
|
+
readonly Mode: 10;
|
|
111
|
+
readonly OffscreenComponent: -1;
|
|
112
|
+
readonly Profiler: 15;
|
|
113
|
+
readonly ScopeComponent: -1;
|
|
114
|
+
readonly SimpleMemoComponent: -1;
|
|
115
|
+
readonly SuspenseComponent: 16;
|
|
116
|
+
readonly SuspenseListComponent: -1;
|
|
117
|
+
readonly Throw: -1;
|
|
118
|
+
readonly TracingMarkerComponent: -1;
|
|
119
|
+
readonly ViewTransitionComponent: -1;
|
|
120
|
+
readonly YieldComponent: -1;
|
|
121
|
+
};
|
|
122
|
+
readonly "16.6.0-beta.0": {
|
|
123
|
+
readonly ActivityComponent: -1;
|
|
124
|
+
readonly CacheComponent: -1;
|
|
125
|
+
readonly ClassComponent: 1;
|
|
126
|
+
readonly ContextConsumer: 9;
|
|
127
|
+
readonly ContextProvider: 10;
|
|
128
|
+
readonly CoroutineComponent: -1;
|
|
129
|
+
readonly CoroutineHandlerPhase: -1;
|
|
130
|
+
readonly DehydratedSuspenseComponent: 18;
|
|
131
|
+
readonly ForwardRef: 11;
|
|
132
|
+
readonly Fragment: 7;
|
|
133
|
+
readonly FunctionComponent: 0;
|
|
134
|
+
readonly HostComponent: 5;
|
|
135
|
+
readonly HostHoistable: -1;
|
|
136
|
+
readonly HostPortal: 4;
|
|
137
|
+
readonly HostRoot: 3;
|
|
138
|
+
readonly HostSingleton: -1;
|
|
139
|
+
readonly HostText: 6;
|
|
140
|
+
readonly IncompleteClassComponent: 17;
|
|
141
|
+
readonly IncompleteFunctionComponent: -1;
|
|
142
|
+
readonly IndeterminateComponent: 2;
|
|
143
|
+
readonly LazyComponent: 16;
|
|
144
|
+
readonly LegacyHiddenComponent: -1;
|
|
145
|
+
readonly MemoComponent: 14;
|
|
146
|
+
readonly Mode: 8;
|
|
147
|
+
readonly OffscreenComponent: -1;
|
|
148
|
+
readonly Profiler: 12;
|
|
149
|
+
readonly ScopeComponent: -1;
|
|
150
|
+
readonly SimpleMemoComponent: 15;
|
|
151
|
+
readonly SuspenseComponent: 13;
|
|
152
|
+
readonly SuspenseListComponent: 19;
|
|
153
|
+
readonly Throw: -1;
|
|
154
|
+
readonly TracingMarkerComponent: -1;
|
|
155
|
+
readonly ViewTransitionComponent: -1;
|
|
156
|
+
readonly YieldComponent: -1;
|
|
157
|
+
};
|
|
158
|
+
readonly "17.0.0-alpha": {
|
|
42
159
|
readonly ActivityComponent: -1;
|
|
43
160
|
readonly CacheComponent: -1;
|
|
44
161
|
readonly ClassComponent: 1;
|
|
@@ -111,30 +228,14 @@ declare const ReactWorkTags: {
|
|
|
111
228
|
readonly YieldComponent: -1;
|
|
112
229
|
};
|
|
113
230
|
};
|
|
114
|
-
type ReactWorkTagVersion = keyof typeof
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
declare const
|
|
122
|
-
declare const HostComponentTag: 5;
|
|
123
|
-
declare const HostHoistableTag: 26;
|
|
124
|
-
declare const HostPortalTag: 4;
|
|
125
|
-
declare const HostRootTag: 3;
|
|
126
|
-
declare const HostSingletonTag: 27;
|
|
127
|
-
declare const HostTextTag: 6;
|
|
128
|
-
declare const LazyComponentTag: 16;
|
|
129
|
-
declare const LegacyHiddenComponentTag: 23;
|
|
130
|
-
declare const MemoComponentTag: 14;
|
|
131
|
-
declare const OffscreenComponentTag: 22;
|
|
132
|
-
declare const SimpleMemoComponentTag: 15;
|
|
133
|
-
declare const SuspenseComponentTag: 13;
|
|
134
|
-
declare const SuspenseListComponentTag: 19;
|
|
135
|
-
declare const ViewTransitionComponentTag: 30;
|
|
136
|
-
type ReactWorkTag = Exclude<(typeof ReactWorkTags)[ReactWorkTagVersion][keyof ReactWorkTagMap], -1>;
|
|
137
|
-
type HostWorkTag = typeof HostComponentTag | typeof HostHoistableTag | typeof HostSingletonTag | typeof HostTextTag;
|
|
231
|
+
type ReactWorkTagVersion = keyof typeof reactWorkTagsByVersion;
|
|
232
|
+
interface GetReactWorkTags {
|
|
233
|
+
<Version extends ReactWorkTagVersion>(reactVersion: Version): Readonly<(typeof reactWorkTagsByVersion)[Version]>;
|
|
234
|
+
(reactVersion: string): Readonly<ReactWorkTagMap>;
|
|
235
|
+
}
|
|
236
|
+
type ReactWorkTag = Exclude<(typeof reactWorkTagsByVersion)[ReactWorkTagVersion][keyof ReactWorkTagMap], -1>;
|
|
237
|
+
type HostWorkTag = Exclude<(typeof reactWorkTagsByVersion)[ReactWorkTagVersion]["HostComponent"] | (typeof reactWorkTagsByVersion)[ReactWorkTagVersion]["HostHoistable"] | (typeof reactWorkTagsByVersion)[ReactWorkTagVersion]["HostSingleton"] | (typeof reactWorkTagsByVersion)[ReactWorkTagVersion]["HostText"], -1>;
|
|
238
|
+
declare const getReactWorkTags: GetReactWorkTags;
|
|
138
239
|
//#endregion
|
|
139
240
|
//#region src/types.d.ts
|
|
140
241
|
type BundleType = ReactReconciler.BundleType;
|
|
@@ -171,7 +272,11 @@ interface ContextDependency<T> extends Omit<ReactReconciler.ContextDependency<T>
|
|
|
171
272
|
memoizedValue?: T;
|
|
172
273
|
observedBits?: number;
|
|
173
274
|
}
|
|
275
|
+
interface DebugThenableState {
|
|
276
|
+
thenables?: unknown[];
|
|
277
|
+
}
|
|
174
278
|
interface Dependencies extends Omit<ReactReconciler.Dependencies, "firstContext"> {
|
|
279
|
+
_debugThenableState?: DebugThenableState | unknown[];
|
|
175
280
|
firstContext: ContextDependency<unknown> | null;
|
|
176
281
|
}
|
|
177
282
|
interface Effect {
|
|
@@ -193,6 +298,10 @@ interface ReactDebugInfo {
|
|
|
193
298
|
env?: string;
|
|
194
299
|
name?: string;
|
|
195
300
|
}
|
|
301
|
+
interface ReactMemoCache {
|
|
302
|
+
data: unknown[][];
|
|
303
|
+
index: number;
|
|
304
|
+
}
|
|
196
305
|
interface FiberDebugSource extends Source {
|
|
197
306
|
columnNumber?: number;
|
|
198
307
|
}
|
|
@@ -200,7 +309,7 @@ interface FiberUpdateQueue {
|
|
|
200
309
|
[key: string]: unknown;
|
|
201
310
|
dispatch?: unknown;
|
|
202
311
|
lastEffect: Effect | null;
|
|
203
|
-
memoCache?:
|
|
312
|
+
memoCache?: ReactMemoCache;
|
|
204
313
|
}
|
|
205
314
|
interface Fiber<T = unknown> extends Omit<ReactReconciler.Fiber, "alternate" | "_debugOwner" | "_debugSource" | "child" | "deletions" | "dependencies" | "memoizedProps" | "memoizedState" | "pendingProps" | "return" | "sibling" | "stateNode" | "tag" | "updateQueue"> {
|
|
206
315
|
_debugInfo?: ReactDebugInfo[];
|
|
@@ -221,7 +330,7 @@ interface Fiber<T = unknown> extends Omit<ReactReconciler.Fiber, "alternate" | "
|
|
|
221
330
|
sibling: Fiber | null;
|
|
222
331
|
stateNode: T;
|
|
223
332
|
tag: WorkTag;
|
|
224
|
-
updateQueue: FiberUpdateQueue;
|
|
333
|
+
updateQueue: FiberUpdateQueue | null;
|
|
225
334
|
}
|
|
226
335
|
interface HostFiber<T = unknown> extends Fiber<T> {
|
|
227
336
|
tag: HostWorkTag;
|
|
@@ -288,4 +397,40 @@ declare global {
|
|
|
288
397
|
var __REACT_DEVTOOLS_GLOBAL_HOOK__: ReactDevToolsGlobalHook | undefined;
|
|
289
398
|
}
|
|
290
399
|
//#endregion
|
|
291
|
-
|
|
400
|
+
//#region src/errors.d.ts
|
|
401
|
+
declare class BippyError extends Error {
|
|
402
|
+
constructor(message: string, cause?: unknown);
|
|
403
|
+
}
|
|
404
|
+
declare class BippyInstrumentationError extends BippyError {
|
|
405
|
+
readonly callbackName: string;
|
|
406
|
+
readonly instrumentationName: string;
|
|
407
|
+
constructor(instrumentationName: string, callbackName: string, cause: unknown);
|
|
408
|
+
}
|
|
409
|
+
declare class BippyReactDevToolsError extends BippyError {
|
|
410
|
+
readonly callbackName: string;
|
|
411
|
+
constructor(callbackName: string, cause: unknown);
|
|
412
|
+
}
|
|
413
|
+
declare class BippyHookListenerError extends BippyError {
|
|
414
|
+
readonly listenerName: string;
|
|
415
|
+
constructor(listenerName: string, cause: unknown);
|
|
416
|
+
}
|
|
417
|
+
declare class BippyHookInstallationError extends BippyError {
|
|
418
|
+
constructor(cause: unknown);
|
|
419
|
+
}
|
|
420
|
+
declare class BippyReactBuildError extends BippyError {
|
|
421
|
+
constructor(message: string, cause?: unknown);
|
|
422
|
+
}
|
|
423
|
+
declare class BippyHookInspectionError extends BippyError {
|
|
424
|
+
constructor(message: string, cause?: unknown);
|
|
425
|
+
}
|
|
426
|
+
declare class BippyUnsupportedHookError extends BippyHookInspectionError {
|
|
427
|
+
constructor(message: string, cause?: unknown);
|
|
428
|
+
}
|
|
429
|
+
declare class BippyHookRenderError extends BippyHookInspectionError {
|
|
430
|
+
constructor(message: string, cause?: unknown);
|
|
431
|
+
}
|
|
432
|
+
declare class BippySourceMapError extends BippyError {
|
|
433
|
+
constructor(message: string, cause?: unknown);
|
|
434
|
+
}
|
|
435
|
+
//#endregion
|
|
436
|
+
export { Source as $, LegacyDispatcherRef as A, ReactDevToolsEventHandler as B, Flags as C, HostFiber as D, HostConfig as E, Props as F, ReactProviderType as G, ReactMemoCache as H, React$AbstractComponent as I, RendererDispatcherRef as J, ReactRenderer as K, ReactConsumer as L, MutableSource as M, OpaqueHandle as N, LanePriority as O, OpaqueRoot as P, ServerComponentInfo as Q, ReactContext as R, FiberUpdateQueue as S, HookType as T, ReactPortal as U, ReactDevToolsGlobalHook as V, ReactProvider as W, RootTag as X, RoleSelector as Y, Selector as Z, DevToolsConfig as _, BippyHookRenderError as a, TypeOfMode as at, FiberDebugSource as b, BippyReactDevToolsError as c, ReactWorkTagMap as ct, BundleType as d, SuspenseHydrationCallbacks as et, ComponentSelector as f, Dependencies as g, DebugThenableState as h, BippyHookListenerError as i, TransitionTracingCallbacks as it, MemoizedState as j, Lanes as k, BippySourceMapError as l, ReactWorkTagVersion as lt, CurrentDispatcherRef as m, BippyHookInspectionError as n, TextSelector as nt, BippyInstrumentationError as o, WorkTag as ot, ContextDependency as p, RefObject as q, BippyHookInstallationError as r, Thenable as rt, BippyReactBuildError as s, ReactSymbols as st, BippyError as t, TestNameSelector as tt, BippyUnsupportedHookError as u, getReactWorkTags as ut, Effect as v, HasPseudoClassSelector as w, FiberRoot as x, Fiber as y, ReactDebugInfo as z };
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import ReactReconciler from "react-reconciler";
|
|
3
3
|
//#region src/generated/react-work-tags.d.ts
|
|
4
|
+
declare const ReactSymbols: {
|
|
5
|
+
readonly CONCURRENT_MODE_NUMBER: 60111;
|
|
6
|
+
readonly CONCURRENT_MODE_SYMBOL_DESCRIPTION: "react.concurrent_mode";
|
|
7
|
+
readonly CONCURRENT_MODE_SYMBOL_STRING: "Symbol(react.concurrent_mode)";
|
|
8
|
+
readonly DEPRECATED_ASYNC_MODE_SYMBOL_DESCRIPTION: "react.async_mode";
|
|
9
|
+
readonly DEPRECATED_ASYNC_MODE_SYMBOL_STRING: "Symbol(react.async_mode)";
|
|
10
|
+
readonly ELEMENT_SYMBOL_STRING: "Symbol(react.transitional.element)";
|
|
11
|
+
readonly LEGACY_ELEMENT_SYMBOL_STRING: "Symbol(react.element)";
|
|
12
|
+
};
|
|
4
13
|
interface ReactWorkTagMap {
|
|
5
14
|
ActivityComponent: number;
|
|
6
15
|
CacheComponent: number;
|
|
@@ -37,8 +46,116 @@ interface ReactWorkTagMap {
|
|
|
37
46
|
ViewTransitionComponent: number;
|
|
38
47
|
YieldComponent: number;
|
|
39
48
|
}
|
|
40
|
-
declare const
|
|
41
|
-
readonly "
|
|
49
|
+
declare const reactWorkTagsByVersion: {
|
|
50
|
+
readonly "16.0.0": {
|
|
51
|
+
readonly ActivityComponent: -1;
|
|
52
|
+
readonly CacheComponent: -1;
|
|
53
|
+
readonly ClassComponent: 2;
|
|
54
|
+
readonly ContextConsumer: 12;
|
|
55
|
+
readonly ContextProvider: 13;
|
|
56
|
+
readonly CoroutineComponent: 7;
|
|
57
|
+
readonly CoroutineHandlerPhase: 8;
|
|
58
|
+
readonly DehydratedSuspenseComponent: -1;
|
|
59
|
+
readonly ForwardRef: 14;
|
|
60
|
+
readonly Fragment: 10;
|
|
61
|
+
readonly FunctionComponent: 1;
|
|
62
|
+
readonly HostComponent: 5;
|
|
63
|
+
readonly HostHoistable: -1;
|
|
64
|
+
readonly HostPortal: 4;
|
|
65
|
+
readonly HostRoot: 3;
|
|
66
|
+
readonly HostSingleton: -1;
|
|
67
|
+
readonly HostText: 6;
|
|
68
|
+
readonly IncompleteClassComponent: -1;
|
|
69
|
+
readonly IncompleteFunctionComponent: -1;
|
|
70
|
+
readonly IndeterminateComponent: 0;
|
|
71
|
+
readonly LazyComponent: -1;
|
|
72
|
+
readonly LegacyHiddenComponent: -1;
|
|
73
|
+
readonly MemoComponent: -1;
|
|
74
|
+
readonly Mode: 11;
|
|
75
|
+
readonly OffscreenComponent: -1;
|
|
76
|
+
readonly Profiler: 15;
|
|
77
|
+
readonly ScopeComponent: -1;
|
|
78
|
+
readonly SimpleMemoComponent: -1;
|
|
79
|
+
readonly SuspenseComponent: 16;
|
|
80
|
+
readonly SuspenseListComponent: -1;
|
|
81
|
+
readonly Throw: -1;
|
|
82
|
+
readonly TracingMarkerComponent: -1;
|
|
83
|
+
readonly ViewTransitionComponent: -1;
|
|
84
|
+
readonly YieldComponent: 9;
|
|
85
|
+
};
|
|
86
|
+
readonly "16.4.3-alpha": {
|
|
87
|
+
readonly ActivityComponent: -1;
|
|
88
|
+
readonly CacheComponent: -1;
|
|
89
|
+
readonly ClassComponent: 2;
|
|
90
|
+
readonly ContextConsumer: 11;
|
|
91
|
+
readonly ContextProvider: 12;
|
|
92
|
+
readonly CoroutineComponent: -1;
|
|
93
|
+
readonly CoroutineHandlerPhase: -1;
|
|
94
|
+
readonly DehydratedSuspenseComponent: -1;
|
|
95
|
+
readonly ForwardRef: 13;
|
|
96
|
+
readonly Fragment: 9;
|
|
97
|
+
readonly FunctionComponent: 0;
|
|
98
|
+
readonly HostComponent: 7;
|
|
99
|
+
readonly HostHoistable: -1;
|
|
100
|
+
readonly HostPortal: 6;
|
|
101
|
+
readonly HostRoot: 5;
|
|
102
|
+
readonly HostSingleton: -1;
|
|
103
|
+
readonly HostText: 8;
|
|
104
|
+
readonly IncompleteClassComponent: -1;
|
|
105
|
+
readonly IncompleteFunctionComponent: -1;
|
|
106
|
+
readonly IndeterminateComponent: 4;
|
|
107
|
+
readonly LazyComponent: -1;
|
|
108
|
+
readonly LegacyHiddenComponent: -1;
|
|
109
|
+
readonly MemoComponent: -1;
|
|
110
|
+
readonly Mode: 10;
|
|
111
|
+
readonly OffscreenComponent: -1;
|
|
112
|
+
readonly Profiler: 15;
|
|
113
|
+
readonly ScopeComponent: -1;
|
|
114
|
+
readonly SimpleMemoComponent: -1;
|
|
115
|
+
readonly SuspenseComponent: 16;
|
|
116
|
+
readonly SuspenseListComponent: -1;
|
|
117
|
+
readonly Throw: -1;
|
|
118
|
+
readonly TracingMarkerComponent: -1;
|
|
119
|
+
readonly ViewTransitionComponent: -1;
|
|
120
|
+
readonly YieldComponent: -1;
|
|
121
|
+
};
|
|
122
|
+
readonly "16.6.0-beta.0": {
|
|
123
|
+
readonly ActivityComponent: -1;
|
|
124
|
+
readonly CacheComponent: -1;
|
|
125
|
+
readonly ClassComponent: 1;
|
|
126
|
+
readonly ContextConsumer: 9;
|
|
127
|
+
readonly ContextProvider: 10;
|
|
128
|
+
readonly CoroutineComponent: -1;
|
|
129
|
+
readonly CoroutineHandlerPhase: -1;
|
|
130
|
+
readonly DehydratedSuspenseComponent: 18;
|
|
131
|
+
readonly ForwardRef: 11;
|
|
132
|
+
readonly Fragment: 7;
|
|
133
|
+
readonly FunctionComponent: 0;
|
|
134
|
+
readonly HostComponent: 5;
|
|
135
|
+
readonly HostHoistable: -1;
|
|
136
|
+
readonly HostPortal: 4;
|
|
137
|
+
readonly HostRoot: 3;
|
|
138
|
+
readonly HostSingleton: -1;
|
|
139
|
+
readonly HostText: 6;
|
|
140
|
+
readonly IncompleteClassComponent: 17;
|
|
141
|
+
readonly IncompleteFunctionComponent: -1;
|
|
142
|
+
readonly IndeterminateComponent: 2;
|
|
143
|
+
readonly LazyComponent: 16;
|
|
144
|
+
readonly LegacyHiddenComponent: -1;
|
|
145
|
+
readonly MemoComponent: 14;
|
|
146
|
+
readonly Mode: 8;
|
|
147
|
+
readonly OffscreenComponent: -1;
|
|
148
|
+
readonly Profiler: 12;
|
|
149
|
+
readonly ScopeComponent: -1;
|
|
150
|
+
readonly SimpleMemoComponent: 15;
|
|
151
|
+
readonly SuspenseComponent: 13;
|
|
152
|
+
readonly SuspenseListComponent: 19;
|
|
153
|
+
readonly Throw: -1;
|
|
154
|
+
readonly TracingMarkerComponent: -1;
|
|
155
|
+
readonly ViewTransitionComponent: -1;
|
|
156
|
+
readonly YieldComponent: -1;
|
|
157
|
+
};
|
|
158
|
+
readonly "17.0.0-alpha": {
|
|
42
159
|
readonly ActivityComponent: -1;
|
|
43
160
|
readonly CacheComponent: -1;
|
|
44
161
|
readonly ClassComponent: 1;
|
|
@@ -111,30 +228,14 @@ declare const ReactWorkTags: {
|
|
|
111
228
|
readonly YieldComponent: -1;
|
|
112
229
|
};
|
|
113
230
|
};
|
|
114
|
-
type ReactWorkTagVersion = keyof typeof
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
declare const
|
|
122
|
-
declare const HostComponentTag: 5;
|
|
123
|
-
declare const HostHoistableTag: 26;
|
|
124
|
-
declare const HostPortalTag: 4;
|
|
125
|
-
declare const HostRootTag: 3;
|
|
126
|
-
declare const HostSingletonTag: 27;
|
|
127
|
-
declare const HostTextTag: 6;
|
|
128
|
-
declare const LazyComponentTag: 16;
|
|
129
|
-
declare const LegacyHiddenComponentTag: 23;
|
|
130
|
-
declare const MemoComponentTag: 14;
|
|
131
|
-
declare const OffscreenComponentTag: 22;
|
|
132
|
-
declare const SimpleMemoComponentTag: 15;
|
|
133
|
-
declare const SuspenseComponentTag: 13;
|
|
134
|
-
declare const SuspenseListComponentTag: 19;
|
|
135
|
-
declare const ViewTransitionComponentTag: 30;
|
|
136
|
-
type ReactWorkTag = Exclude<(typeof ReactWorkTags)[ReactWorkTagVersion][keyof ReactWorkTagMap], -1>;
|
|
137
|
-
type HostWorkTag = typeof HostComponentTag | typeof HostHoistableTag | typeof HostSingletonTag | typeof HostTextTag;
|
|
231
|
+
type ReactWorkTagVersion = keyof typeof reactWorkTagsByVersion;
|
|
232
|
+
interface GetReactWorkTags {
|
|
233
|
+
<Version extends ReactWorkTagVersion>(reactVersion: Version): Readonly<(typeof reactWorkTagsByVersion)[Version]>;
|
|
234
|
+
(reactVersion: string): Readonly<ReactWorkTagMap>;
|
|
235
|
+
}
|
|
236
|
+
type ReactWorkTag = Exclude<(typeof reactWorkTagsByVersion)[ReactWorkTagVersion][keyof ReactWorkTagMap], -1>;
|
|
237
|
+
type HostWorkTag = Exclude<(typeof reactWorkTagsByVersion)[ReactWorkTagVersion]["HostComponent"] | (typeof reactWorkTagsByVersion)[ReactWorkTagVersion]["HostHoistable"] | (typeof reactWorkTagsByVersion)[ReactWorkTagVersion]["HostSingleton"] | (typeof reactWorkTagsByVersion)[ReactWorkTagVersion]["HostText"], -1>;
|
|
238
|
+
declare const getReactWorkTags: GetReactWorkTags;
|
|
138
239
|
//#endregion
|
|
139
240
|
//#region src/types.d.ts
|
|
140
241
|
type BundleType = ReactReconciler.BundleType;
|
|
@@ -171,7 +272,11 @@ interface ContextDependency<T> extends Omit<ReactReconciler.ContextDependency<T>
|
|
|
171
272
|
memoizedValue?: T;
|
|
172
273
|
observedBits?: number;
|
|
173
274
|
}
|
|
275
|
+
interface DebugThenableState {
|
|
276
|
+
thenables?: unknown[];
|
|
277
|
+
}
|
|
174
278
|
interface Dependencies extends Omit<ReactReconciler.Dependencies, "firstContext"> {
|
|
279
|
+
_debugThenableState?: DebugThenableState | unknown[];
|
|
175
280
|
firstContext: ContextDependency<unknown> | null;
|
|
176
281
|
}
|
|
177
282
|
interface Effect {
|
|
@@ -193,6 +298,10 @@ interface ReactDebugInfo {
|
|
|
193
298
|
env?: string;
|
|
194
299
|
name?: string;
|
|
195
300
|
}
|
|
301
|
+
interface ReactMemoCache {
|
|
302
|
+
data: unknown[][];
|
|
303
|
+
index: number;
|
|
304
|
+
}
|
|
196
305
|
interface FiberDebugSource extends Source {
|
|
197
306
|
columnNumber?: number;
|
|
198
307
|
}
|
|
@@ -200,7 +309,7 @@ interface FiberUpdateQueue {
|
|
|
200
309
|
[key: string]: unknown;
|
|
201
310
|
dispatch?: unknown;
|
|
202
311
|
lastEffect: Effect | null;
|
|
203
|
-
memoCache?:
|
|
312
|
+
memoCache?: ReactMemoCache;
|
|
204
313
|
}
|
|
205
314
|
interface Fiber<T = unknown> extends Omit<ReactReconciler.Fiber, "alternate" | "_debugOwner" | "_debugSource" | "child" | "deletions" | "dependencies" | "memoizedProps" | "memoizedState" | "pendingProps" | "return" | "sibling" | "stateNode" | "tag" | "updateQueue"> {
|
|
206
315
|
_debugInfo?: ReactDebugInfo[];
|
|
@@ -221,7 +330,7 @@ interface Fiber<T = unknown> extends Omit<ReactReconciler.Fiber, "alternate" | "
|
|
|
221
330
|
sibling: Fiber | null;
|
|
222
331
|
stateNode: T;
|
|
223
332
|
tag: WorkTag;
|
|
224
|
-
updateQueue: FiberUpdateQueue;
|
|
333
|
+
updateQueue: FiberUpdateQueue | null;
|
|
225
334
|
}
|
|
226
335
|
interface HostFiber<T = unknown> extends Fiber<T> {
|
|
227
336
|
tag: HostWorkTag;
|
|
@@ -288,4 +397,40 @@ declare global {
|
|
|
288
397
|
var __REACT_DEVTOOLS_GLOBAL_HOOK__: ReactDevToolsGlobalHook | undefined;
|
|
289
398
|
}
|
|
290
399
|
//#endregion
|
|
291
|
-
|
|
400
|
+
//#region src/errors.d.ts
|
|
401
|
+
declare class BippyError extends Error {
|
|
402
|
+
constructor(message: string, cause?: unknown);
|
|
403
|
+
}
|
|
404
|
+
declare class BippyInstrumentationError extends BippyError {
|
|
405
|
+
readonly callbackName: string;
|
|
406
|
+
readonly instrumentationName: string;
|
|
407
|
+
constructor(instrumentationName: string, callbackName: string, cause: unknown);
|
|
408
|
+
}
|
|
409
|
+
declare class BippyReactDevToolsError extends BippyError {
|
|
410
|
+
readonly callbackName: string;
|
|
411
|
+
constructor(callbackName: string, cause: unknown);
|
|
412
|
+
}
|
|
413
|
+
declare class BippyHookListenerError extends BippyError {
|
|
414
|
+
readonly listenerName: string;
|
|
415
|
+
constructor(listenerName: string, cause: unknown);
|
|
416
|
+
}
|
|
417
|
+
declare class BippyHookInstallationError extends BippyError {
|
|
418
|
+
constructor(cause: unknown);
|
|
419
|
+
}
|
|
420
|
+
declare class BippyReactBuildError extends BippyError {
|
|
421
|
+
constructor(message: string, cause?: unknown);
|
|
422
|
+
}
|
|
423
|
+
declare class BippyHookInspectionError extends BippyError {
|
|
424
|
+
constructor(message: string, cause?: unknown);
|
|
425
|
+
}
|
|
426
|
+
declare class BippyUnsupportedHookError extends BippyHookInspectionError {
|
|
427
|
+
constructor(message: string, cause?: unknown);
|
|
428
|
+
}
|
|
429
|
+
declare class BippyHookRenderError extends BippyHookInspectionError {
|
|
430
|
+
constructor(message: string, cause?: unknown);
|
|
431
|
+
}
|
|
432
|
+
declare class BippySourceMapError extends BippyError {
|
|
433
|
+
constructor(message: string, cause?: unknown);
|
|
434
|
+
}
|
|
435
|
+
//#endregion
|
|
436
|
+
export { Source as $, LegacyDispatcherRef as A, ReactDevToolsEventHandler as B, Flags as C, HostFiber as D, HostConfig as E, Props as F, ReactProviderType as G, ReactMemoCache as H, React$AbstractComponent as I, RendererDispatcherRef as J, ReactRenderer as K, ReactConsumer as L, MutableSource as M, OpaqueHandle as N, LanePriority as O, OpaqueRoot as P, ServerComponentInfo as Q, ReactContext as R, FiberUpdateQueue as S, HookType as T, ReactPortal as U, ReactDevToolsGlobalHook as V, ReactProvider as W, RootTag as X, RoleSelector as Y, Selector as Z, DevToolsConfig as _, BippyHookRenderError as a, TypeOfMode as at, FiberDebugSource as b, BippyReactDevToolsError as c, ReactWorkTagMap as ct, BundleType as d, SuspenseHydrationCallbacks as et, ComponentSelector as f, Dependencies as g, DebugThenableState as h, BippyHookListenerError as i, TransitionTracingCallbacks as it, MemoizedState as j, Lanes as k, BippySourceMapError as l, ReactWorkTagVersion as lt, CurrentDispatcherRef as m, BippyHookInspectionError as n, TextSelector as nt, BippyInstrumentationError as o, WorkTag as ot, ContextDependency as p, RefObject as q, BippyHookInstallationError as r, Thenable as rt, BippyReactBuildError as s, ReactSymbols as st, BippyError as t, TestNameSelector as tt, BippyUnsupportedHookError as u, getReactWorkTags as ut, Effect as v, HasPseudoClassSelector as w, FiberRoot as x, Fiber as y, ReactDebugInfo as z };
|
package/dist/index.cjs
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rdt-hook.cjs");require("./install-hook-only.cjs");const t=require("./core2.cjs");exports.
|
|
9
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rdt-hook.cjs");require("./install-hook-only.cjs");const t=require("./core2.cjs");exports.BIPPY_INSTRUMENTATION_STRING=e.t,exports.BippyError=e.m,exports.BippyHookInspectionError=e.h,exports.BippyHookInstallationError=e.g,exports.BippyHookListenerError=e._,exports.BippyHookRenderError=e.v,exports.BippyInstrumentationError=e.y,exports.BippyReactBuildError=e.b,exports.BippyReactDevToolsError=e.x,exports.BippySourceMapError=e.S,exports.BippyUnsupportedHookError=e.C,exports.ReactSymbols=t.N,exports._fiberRoots=t.t,exports._onActiveListeners=e.n,exports._renderers=e.r,exports.detectReactBuildType=t.n,exports.didFiberCommit=t.r,exports.didFiberRender=t.i,exports.getDisplayName=t.a,exports.getFiberFromHostInstance=t.o,exports.getFiberId=t.s,exports.getFiberStack=t.c,exports.getLatestFiber=t.l,exports.getMutatedHostFibers=t.u,exports.getNearestHostFiber=t.d,exports.getNearestHostFibers=t.f,exports.getRDTHook=e.i,exports.getReactWorkTags=t.P,exports.getTimings=t.p,exports.getType=t.m,exports.hasMemoCache=t.h,exports.hasRDTHook=e.a,exports.installRDTHook=e.o,exports.instrument=t.g,exports.isCompositeFiber=t._,exports.isFiber=t.v,exports.isHostFiber=t.y,exports.isInstrumentationActive=t.b,exports.isRealReactDevtools=e.s,exports.isValidElement=t.x,exports.isValidFiber=t.S,exports.onRendererInject=e.l,exports.overrideContext=t.C,exports.overrideHookState=t.w,exports.overrideProps=t.T,exports.patchRDTHook=e.u,exports.safelyInstallRDTHook=e.d,exports.setFiberId=t.E,exports.toUnsubscribe=e.p,exports.traverseContexts=t.D,exports.traverseFiber=t.O,exports.traverseProps=t.k,exports.traverseRenderedFibers=t.A,exports.traverseState=t.j,exports.version=e.f;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
1
|
+
import { $ as Source, A as LegacyDispatcherRef, B as ReactDevToolsEventHandler, C as Flags, D as HostFiber, E as HostConfig, F as Props, G as ReactProviderType, H as ReactMemoCache, I as React$AbstractComponent, J as RendererDispatcherRef, K as ReactRenderer, L as ReactConsumer, M as MutableSource, N as OpaqueHandle, O as LanePriority, P as OpaqueRoot, Q as ServerComponentInfo, R as ReactContext, S as FiberUpdateQueue, T as HookType, U as ReactPortal, V as ReactDevToolsGlobalHook, W as ReactProvider, X as RootTag, Y as RoleSelector, Z as Selector, _ as DevToolsConfig, a as BippyHookRenderError, at as TypeOfMode, b as FiberDebugSource, c as BippyReactDevToolsError, ct as ReactWorkTagMap, d as BundleType, et as SuspenseHydrationCallbacks, f as ComponentSelector, g as Dependencies, h as DebugThenableState, i as BippyHookListenerError, it as TransitionTracingCallbacks, j as MemoizedState, k as Lanes, l as BippySourceMapError, lt as ReactWorkTagVersion, m as CurrentDispatcherRef, n as BippyHookInspectionError, nt as TextSelector, o as BippyInstrumentationError, ot as WorkTag, p as ContextDependency, q as RefObject, r as BippyHookInstallationError, rt as Thenable, s as BippyReactBuildError, st as ReactSymbols, t as BippyError, tt as TestNameSelector, u as BippyUnsupportedHookError, ut as getReactWorkTags, v as Effect, w as HasPseudoClassSelector, x as FiberRoot, y as Fiber, z as ReactDebugInfo } from "./errors.cjs";
|
|
2
|
+
import { A as setFiberId, B as hasRDTHook, C as isHostFiber, D as overrideContext, E as isValidFiber, F as traverseState, G as safelyInstallRDTHook, H as isRealReactDevtools, I as BIPPY_INSTRUMENTATION_STRING, J as toUnsubscribe, K as version, L as _onActiveListeners, M as traverseFiber, N as traverseProps, O as overrideHookState, P as traverseRenderedFibers, R as _renderers, S as isFiber, T as isValidElement, U as onRendererInject, V as installRDTHook, W as patchRDTHook, _ as getTimings, a as _fiberRoots, b as instrument, c as didFiberRender, d as getFiberId, f as getFiberStack, g as getNearestHostFibers, h as getNearestHostFiber, i as RenderPhase, j as traverseContexts, k as overrideProps, l as getDisplayName, m as getMutatedHostFibers, n as InstrumentationOptions, o as detectReactBuildType, p as getLatestFiber, q as Unsubscribe, r as RenderHandler, s as didFiberCommit, t as FiberTimings, u as getFiberFromHostInstance, v as getType, w as isInstrumentationActive, x as isCompositeFiber, y as hasMemoCache, z as getRDTHook } from "./core.cjs";
|
|
3
|
+
export { BIPPY_INSTRUMENTATION_STRING, BippyError, BippyHookInspectionError, BippyHookInstallationError, BippyHookListenerError, BippyHookRenderError, BippyInstrumentationError, BippyReactBuildError, BippyReactDevToolsError, BippySourceMapError, BippyUnsupportedHookError, type BundleType, type ComponentSelector, type ContextDependency, type CurrentDispatcherRef, type DebugThenableState, type Dependencies, type DevToolsConfig, type Effect, type Fiber, type FiberDebugSource, type FiberRoot, FiberTimings, type FiberUpdateQueue, type Flags, type HasPseudoClassSelector, type HookType, type HostConfig, type HostFiber, InstrumentationOptions, type LanePriority, type Lanes, type LegacyDispatcherRef, type MemoizedState, type MutableSource, type OpaqueHandle, type OpaqueRoot, type Props, type React$AbstractComponent, type ReactConsumer, type ReactContext, type ReactDebugInfo, type ReactDevToolsEventHandler, type ReactDevToolsGlobalHook, type ReactMemoCache, type ReactPortal, type ReactProvider, type ReactProviderType, type ReactRenderer, ReactSymbols, type ReactWorkTagMap, type ReactWorkTagVersion, type RefObject, RenderHandler, RenderPhase, type RendererDispatcherRef, type RoleSelector, type RootTag, type Selector, type ServerComponentInfo, type Source, type SuspenseHydrationCallbacks, type TestNameSelector, type TextSelector, type Thenable, type TransitionTracingCallbacks, type TypeOfMode, Unsubscribe, type WorkTag, _fiberRoots, _onActiveListeners, _renderers, detectReactBuildType, didFiberCommit, didFiberRender, getDisplayName, getFiberFromHostInstance, getFiberId, getFiberStack, getLatestFiber, getMutatedHostFibers, getNearestHostFiber, getNearestHostFibers, getRDTHook, getReactWorkTags, getTimings, getType, hasMemoCache, hasRDTHook, installRDTHook, instrument, isCompositeFiber, isFiber, isHostFiber, isInstrumentationActive, isRealReactDevtools, isValidElement, isValidFiber, onRendererInject, overrideContext, overrideHookState, overrideProps, patchRDTHook, safelyInstallRDTHook, setFiberId, toUnsubscribe, traverseContexts, traverseFiber, traverseProps, traverseRenderedFibers, traverseState, version };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
1
|
+
import { $ as Source, A as LegacyDispatcherRef, B as ReactDevToolsEventHandler, C as Flags, D as HostFiber, E as HostConfig, F as Props, G as ReactProviderType, H as ReactMemoCache, I as React$AbstractComponent, J as RendererDispatcherRef, K as ReactRenderer, L as ReactConsumer, M as MutableSource, N as OpaqueHandle, O as LanePriority, P as OpaqueRoot, Q as ServerComponentInfo, R as ReactContext, S as FiberUpdateQueue, T as HookType, U as ReactPortal, V as ReactDevToolsGlobalHook, W as ReactProvider, X as RootTag, Y as RoleSelector, Z as Selector, _ as DevToolsConfig, a as BippyHookRenderError, at as TypeOfMode, b as FiberDebugSource, c as BippyReactDevToolsError, ct as ReactWorkTagMap, d as BundleType, et as SuspenseHydrationCallbacks, f as ComponentSelector, g as Dependencies, h as DebugThenableState, i as BippyHookListenerError, it as TransitionTracingCallbacks, j as MemoizedState, k as Lanes, l as BippySourceMapError, lt as ReactWorkTagVersion, m as CurrentDispatcherRef, n as BippyHookInspectionError, nt as TextSelector, o as BippyInstrumentationError, ot as WorkTag, p as ContextDependency, q as RefObject, r as BippyHookInstallationError, rt as Thenable, s as BippyReactBuildError, st as ReactSymbols, t as BippyError, tt as TestNameSelector, u as BippyUnsupportedHookError, ut as getReactWorkTags, v as Effect, w as HasPseudoClassSelector, x as FiberRoot, y as Fiber, z as ReactDebugInfo } from "./errors.js";
|
|
2
|
+
import { A as setFiberId, B as hasRDTHook, C as isHostFiber, D as overrideContext, E as isValidFiber, F as traverseState, G as safelyInstallRDTHook, H as isRealReactDevtools, I as BIPPY_INSTRUMENTATION_STRING, J as toUnsubscribe, K as version, L as _onActiveListeners, M as traverseFiber, N as traverseProps, O as overrideHookState, P as traverseRenderedFibers, R as _renderers, S as isFiber, T as isValidElement, U as onRendererInject, V as installRDTHook, W as patchRDTHook, _ as getTimings, a as _fiberRoots, b as instrument, c as didFiberRender, d as getFiberId, f as getFiberStack, g as getNearestHostFibers, h as getNearestHostFiber, i as RenderPhase, j as traverseContexts, k as overrideProps, l as getDisplayName, m as getMutatedHostFibers, n as InstrumentationOptions, o as detectReactBuildType, p as getLatestFiber, q as Unsubscribe, r as RenderHandler, s as didFiberCommit, t as FiberTimings, u as getFiberFromHostInstance, v as getType, w as isInstrumentationActive, x as isCompositeFiber, y as hasMemoCache, z as getRDTHook } from "./core.js";
|
|
3
|
+
export { BIPPY_INSTRUMENTATION_STRING, BippyError, BippyHookInspectionError, BippyHookInstallationError, BippyHookListenerError, BippyHookRenderError, BippyInstrumentationError, BippyReactBuildError, BippyReactDevToolsError, BippySourceMapError, BippyUnsupportedHookError, type BundleType, type ComponentSelector, type ContextDependency, type CurrentDispatcherRef, type DebugThenableState, type Dependencies, type DevToolsConfig, type Effect, type Fiber, type FiberDebugSource, type FiberRoot, FiberTimings, type FiberUpdateQueue, type Flags, type HasPseudoClassSelector, type HookType, type HostConfig, type HostFiber, InstrumentationOptions, type LanePriority, type Lanes, type LegacyDispatcherRef, type MemoizedState, type MutableSource, type OpaqueHandle, type OpaqueRoot, type Props, type React$AbstractComponent, type ReactConsumer, type ReactContext, type ReactDebugInfo, type ReactDevToolsEventHandler, type ReactDevToolsGlobalHook, type ReactMemoCache, type ReactPortal, type ReactProvider, type ReactProviderType, type ReactRenderer, ReactSymbols, type ReactWorkTagMap, type ReactWorkTagVersion, type RefObject, RenderHandler, RenderPhase, type RendererDispatcherRef, type RoleSelector, type RootTag, type Selector, type ServerComponentInfo, type Source, type SuspenseHydrationCallbacks, type TestNameSelector, type TextSelector, type Thenable, type TransitionTracingCallbacks, type TypeOfMode, Unsubscribe, type WorkTag, _fiberRoots, _onActiveListeners, _renderers, detectReactBuildType, didFiberCommit, didFiberRender, getDisplayName, getFiberFromHostInstance, getFiberId, getFiberStack, getLatestFiber, getMutatedHostFibers, getNearestHostFiber, getNearestHostFibers, getRDTHook, getReactWorkTags, getTimings, getType, hasMemoCache, hasRDTHook, installRDTHook, instrument, isCompositeFiber, isFiber, isHostFiber, isInstrumentationActive, isRealReactDevtools, isValidElement, isValidFiber, onRendererInject, overrideContext, overrideHookState, overrideProps, patchRDTHook, safelyInstallRDTHook, setFiberId, toUnsubscribe, traverseContexts, traverseFiber, traverseProps, traverseRenderedFibers, traverseState, version };
|