Skip to content

Commit

Permalink
Missing keyPath
Browse files Browse the repository at this point in the history
This would've shown up for FormState eventually.
  • Loading branch information
sebmarkbage committed Sep 12, 2024
1 parent 852d978 commit 27fbed5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-server/src/ReactFizzServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1380,6 +1380,7 @@ function replaySuspenseBoundary(
// we're writing to. If something suspends, it'll spawn new suspended task with that context.
task.blockedBoundary = resumedBoundary;
task.hoistableState = resumedBoundary.contentState;
task.keyPath = keyPath;
task.replay = {nodes: childNodes, slots: childSlots, pendingTasks: 1};

try {
Expand Down Expand Up @@ -5097,6 +5098,7 @@ export function abort(request: Request, reason: mixed): void {
if (request.status === OPEN) {
request.status = ABORTING;
}

try {
const abortableTasks = request.abortableTasks;
if (abortableTasks.size > 0) {
Expand Down

0 comments on commit 27fbed5

Please sign in to comment.