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 committed Dec 5, 2022
1 parent 18df7e8 commit 3168708
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 @@ -3774,7 +3774,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 3168708

Please sign in to comment.