30 ElementTypeClass,
31 ElementTypeContext,
32▶ ElementTypeFunction,
33 ElementTypeForwardRef,
34 ElementTypeHostComponent,
· · ·
180 Plugins,
181} from 'react-devtools-shared/src/frontend/types';
182▶import type {ReactFunctionLocation} from 'shared/ReactTypes';
183import type {
184 FiberInstance,
· · ·
197import {formatOwnerStack} from '../shared/DevToolsOwnerStack';
198
199▶function createFiberInstance(fiber: Fiber): FiberInstance {
200 return {
201 kind: FIBER_INSTANCE,
· · ·
214
215// This is used to represent a filtered Fiber but still lets us find its host instance.
216▶function createFilteredFiberInstance(fiber: Fiber): FilteredFiberInstance {
217 return {
218 kind: FILTERED_FIBER_INSTANCE,
· · ·
230}
231
232▶function createVirtualInstance(
233 debugEntry: ReactComponentInfo,
234): VirtualInstance {
+ 354 more matches in this file