Skip to content

Commit

Permalink
yarn replace-fork
Browse files Browse the repository at this point in the history
  • Loading branch information
kassens committed Sep 7, 2022
1 parent 0b87c1d commit 7204e29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactChildFiber.new.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if (__DEV__) {
);
}

// $FlowFixMe unable to verify object is writable
// $FlowFixMe unable to narrow type from mixed to writable object
child._store.validated = true;

const componentName = getComponentNameFromFiber(returnFiber) || 'Component';
Expand Down
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberCommitWork.old.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function safelyDetachRef(current: Fiber, nearestMountedAncestor: Fiber | null) {
}
}
} else {
// $FlowFixMe unable to narrow type to the non-function case
// $FlowFixMe unable to narrow type to RefObject
ref.current = null;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export type FindHostInstancesForRefresh = (
) => Set<Instance>;

let resolveFamily: RefreshHandler | null = null;
// $FlowFixMe Flow got confused by a feature check below.
// $FlowFixMe Flow gets confused by a WeakSet feature check below.
let failedBoundaries: WeakSet<Fiber> | null = null;

export const setRefreshHandler = (handler: RefreshHandler | null): void => {
Expand Down

0 comments on commit 7204e29

Please sign in to comment.