Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactChildFiber.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ import {readContextDuringReconciliation} from './ReactFiberNewContext';

import {runWithFiberInDEV} from './ReactCurrentFiber';

// This tracks the thenables that are unwrapped during reconcilation.
// This tracks the thenables that are unwrapped during reconciliation.
let thenableState: ThenableState | null = null;
let thenableIndexCounter: number = 0;

Expand Down
4 changes: 2 additions & 2 deletions packages/react-reconciler/src/ReactFiberBeginWork.js
Original file line number Diff line number Diff line change
Expand Up @@ -2037,7 +2037,7 @@ function updateHostHoistable(
// the host implementation of getResource to consider children in the
// resource construction but they will otherwise be discarded. In practice
// this precludes all but the simplest children and Host specific warnings
// should be implemented to warn when children are passsed when otherwise not
// should be implemented to warn when children are passed when otherwise not
// expected
return null;
}
Expand Down Expand Up @@ -4202,7 +4202,7 @@ function beginWork(
didReceiveUpdate = false;

if (getIsHydrating() && isForkedChild(workInProgress)) {
// Check if this child belongs to a list of muliple children in
// Check if this child belongs to a list of multiple children in
// its parent.
//
// In a true multi-threaded implementation, we would render children on
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ export function measureUpdateViewTransition(
gesture: boolean,
): boolean {
// If this was a gesture then which Fiber was used for the "old" vs "new" state is reversed.
// We still need to treat "finishedWork" as the Fiber that contains the flags for this commmit.
// We still need to treat "finishedWork" as the Fiber that contains the flags for this commit.
const oldFiber = gesture ? finishedWork : current;
const newFiber = gesture ? current : finishedWork;
const props: ViewTransitionProps = newFiber.memoizedProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberCommitWork.js
Original file line number Diff line number Diff line change
Expand Up @@ -5013,7 +5013,7 @@ export function disconnectPassiveEffect(finishedWork: Fiber): void {
HookPassive,
);
// When disconnecting passive effects, we fire the effects in the same
// order as during a deletiong: parent before child
// order as during a deletion: parent before child
recursivelyTraverseDisconnectPassiveEffects(finishedWork);
break;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberCompleteWork.js
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ function completeWork(
markUpdate(workInProgress);
}
} else {
// We use the updateHostComponent path becuase it produces
// We use the updateHostComponent path because it produces
// the update queue we need for Hoistables.
updateHostComponent(
current,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberHooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -2015,7 +2015,7 @@ function rerenderOptimistic<S, A>(
// the passthrough value changed.
//
// So instead of a forked re-render implementation that knows how to handle
// render phase udpates, we can use the same implementation as during a
// render phase updates, we can use the same implementation as during a
// regular mount or update.
const hook = updateWorkInProgressHook();

Expand Down