Skip to content

Commit

Permalink
Revert "Avoid replaying SelectiveHydrationException in dev (#25754)"
Browse files Browse the repository at this point in the history
This reverts commit f0534ae.
  • Loading branch information
tyao1 authored Dec 5, 2022
1 parent 2ccfa65 commit 1326dfb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/react-reconciler/src/ReactFiberWorkLoop.js
Original file line number Diff line number Diff line change
Expand Up @@ -3771,7 +3771,6 @@ if (__DEV__ && replayFailedUnitOfWorkWithInvokeGuardedCallback) {
if (
didSuspendOrErrorWhileHydratingDEV() ||
originalError === SuspenseException ||
originalError === SelectiveHydrationException ||
(originalError !== null &&
typeof originalError === 'object' &&
typeof originalError.then === 'function')
Expand Down

0 comments on commit 1326dfb

Please sign in to comment.