Skip to content

Commit

Permalink
Fix context providers in SSR when handling multiple requests. Closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
frandiox committed Jan 24, 2022
1 parent f2a59df commit d49a09e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/react-server/src/ReactFizzNewContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ function popToNearestCommonAncestor(
}

popToNearestCommonAncestor(parentPrev, parentNext);
// On the way back, we push the new ones that weren't common.
pushNode(next);
}

// On the way back, we push the new ones that weren't common.
pushNode(next);
}
}

Expand Down

0 comments on commit d49a09e

Please sign in to comment.