Slide 50
Slide 50 text
'JCFSͷσʔλߏ
export type Fiber = {|
tag: TypeOfWork,
key: null | string,
type: any,
stateNode: any,
return: Fiber | null,
child: Fiber | null,
sibling: Fiber | null,
index: number,
ref: null | (((handle: mixed) => void) & {_stringRef: ?string}),
pendingProps: any,
memoizedProps: any,
updateQueue: UpdateQueue | null,
memoizedState: any,
internalContextTag: TypeOfInternalContext,
effectTag: TypeOfSideEffect,
nextEffect: Fiber | null,
firstEffect: Fiber | null,
lastEffect: Fiber | null,
pendingWorkPriority: PriorityLevel,
alternate: Fiber | null,
_debugID?: DebugID,
_debugSource?: Source | null,
_debugOwner?: Fiber | ReactInstance | null,
_debugIsCurrentlyTiming?: boolean,
|};