Skip to content

Commit

Permalink
[dynamicIO] unify server and client prerender for non-ppr pathway
Browse files Browse the repository at this point in the history
same as prior update but we refactor the non-ppr prerender pathway. goal is to only 2 two renders max and still support cache warming and lazy module init
  • Loading branch information
gnoff committed Oct 24, 2024
1 parent 8d61b88 commit 51f931a
Show file tree
Hide file tree
Showing 2 changed files with 276 additions and 328 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export function prerenderAndAbortInSequentialTasks<R>(
setImmediate(() => {
try {
pendingResult = prerender()
pendingResult.catch(() => {})
} catch (err) {
reject(err)
}
Expand Down
Loading

0 comments on commit 51f931a

Please sign in to comment.