React Fiber 活动组件
不知道是还没有完善还是什么原因,该文件目前仅有一个类型导出
// A non-null ActivityState represents a dehydrated Activity boundary.
// 非空的 ActivityState 表示一个脱水的 Activity 边界。
export type ActivityState = {
dehydrated: ActivityInstance;
treeContext: null | TreeContext;
// Represents the lane we should attempt to hydrate a dehydrated boundary at.
// OffscreenLane is the default for dehydrated boundaries.
// NoLane is the default for normal boundaries, which turns into "normal" pri.
//
// 表示我们应该尝试为脱水边界进行补水的车道。
// OffscreenLane 是脱水边界的默认值。
// NoLane 是正常边界的默认值,会变成“normal”优先级。
retryLane: Lane;
// Stashed Errors that happened while attempting to hydrate this boundary.
// 在尝试恢复此边界时发生的存储错误。
hydrationErrors: Array<CapturedValue<mixed>> | null;
};